From ccd631a47fe3638d1c6456911478076a1ecd83bf Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 19 Oct 2006 05:59:27 +0000 Subject: [PATCH] Ported from branches/2.5 git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4900 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/addressbook/class_addressbook.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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){ -- 2.30.2