From: Andreas Gohr Date: Mon, 23 Jan 2006 13:48:50 +0000 (+0100) Subject: problem with undefined attribute fixed X-Git-Tag: 0.7.1~97 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=519858479b970fa256e6a3d2c71f698b94053920;p=contagged problem with undefined attribute fixed darcs-hash:20060123134850-6e07b-b1e72b5b1c14b15698a74daf2e39dc472540a95d.gz --- diff --git a/entry.php b/entry.php index 36eac7f..63e15e1 100644 --- 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 '';*/ $entry[cn] = $entry[givenname].' '.$entry[name];; $entry = prepare_ldap_entry($entry); -/*print '
';
+/*
+print '
';
 print_r($entry);
-print '
';*/ +print '
'; +*/ if(empty($dn)){ //new entry