From 519858479b970fa256e6a3d2c71f698b94053920 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 23 Jan 2006 14:48:50 +0100 Subject: [PATCH] problem with undefined attribute fixed darcs-hash:20060123134850-6e07b-b1e72b5b1c14b15698a74daf2e39dc472540a95d.gz --- entry.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.5