From: Andreas Gohr Date: Tue, 4 Sep 2007 14:40:24 +0000 (+0200) Subject: Small change in marker handling for more template flexibility X-Git-Tag: 0.7.1~36 X-Git-Url: https://git.sur5r.net/?p=contagged;a=commitdiff_plain;h=78aae82c09f128202ff5e6b2fb203cae240f286d Small change in marker handling for more template flexibility darcs-hash:20070904144024-6e07b-5a9a2964c20cb23ffd938e82e11062103e262723.gz --- diff --git a/entry.php b/entry.php index 75c6b87..19b1777 100644 --- a/entry.php +++ b/entry.php @@ -28,7 +28,8 @@ if (empty($_REQUEST['dn'])) { if($_SESSION['ldapab']['username'] && !empty($_REQUEST['save']) && $_REQUEST['save']){ // prepare special data $_REQUEST['entry']['photo'] = _getUploadData(); - $_REQUEST['entry']['marker'] = explode(',',$_REQUEST['entry']['markers']); + if($_REQUEST['entry']['markers']) + $_REQUEST['entry']['marker'] = explode(',',$_REQUEST['entry']['markers']); unset($_REQUEST['entry']['markers']); foreach(array_keys($_REQUEST['entry']) as $field){