From: cajus Date: Thu, 19 Oct 2006 05:59:27 +0000 (+0000) Subject: Ported from branches/2.5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ccd631a47fe3638d1c6456911478076a1ecd83bf;p=gosa.git Ported from branches/2.5 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4900 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/addons/addressbook/class_addressbook.inc b/plugins/addons/addressbook/class_addressbook.inc index ae56b8d36..94dc90f4f 100644 --- a/plugins/addons/addressbook/class_addressbook.inc +++ b/plugins/addons/addressbook/class_addressbook.inc @@ -253,14 +253,16 @@ class addressbook extends plugin switch ($_GET['global']){ case "add": $this->dn= "new"; - $this->orig_cn= ""; + $this->orig_cn= ""; /* Clean values */ foreach ($this->attributes as $name){ $this->$name= ""; } + $this->saved_attributes= array(); $this->storage_base= $this->config->current["BASE"]; break; + case "edit": /* Clean values */ foreach ($this->attributes as $name){