]> git.sur5r.net Git - contagged/commitdiff
problem with undefined attribute fixed
authorAndreas Gohr <gohr@cosmocode.de>
Mon, 23 Jan 2006 13:48:50 +0000 (14:48 +0100)
committerAndreas Gohr <gohr@cosmocode.de>
Mon, 23 Jan 2006 13:48:50 +0000 (14:48 +0100)
darcs-hash:20060123134850-6e07b-b1e72b5b1c14b15698a74daf2e39dc472540a95d.gz

entry.php

index 36eac7f4cd673b36f4f9a68a22a3ad565edd00cb..63e15e197573b14f4b518fb7833864d612c1c424 100644 (file)
--- a/entry.php
+++ b/entry.php
@@ -23,6 +23,7 @@
     $_REQUEST[entry][jpegPhoto][]=_getUploadData();
     $_REQUEST[entry][marker] = explode(',',$_REQUEST[entry][markers]);
     $_REQUEST[entry][marker] = array_map('trim',$_REQUEST[entry][marker]);
+    unset($_REQUEST[entry][markers]);
     $dn = _saveData();
   }
 
@@ -125,9 +126,11 @@ print '</pre>';*/
     $entry[cn]          = $entry[givenname].' '.$entry[name];;
     $entry = prepare_ldap_entry($entry);
 
-/*print '<pre>';
+/*
+print '<pre>';
 print_r($entry);
-print '</pre>';*/
+print '</pre>';
+*/
 
     if(empty($dn)){
       //new entry