From 6f9a3f187e33ce01a2ccf99941e8f78161dcb8e1 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 19 Oct 2006 04:43:55 +0000 Subject: [PATCH] Added roomNumber to Terminal overview git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4899 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 710df937a..e7c97d1a8 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