From 430982004bbf00916c1e5aa882df036f8c61d911 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 27 Oct 2006 09:38:03 +0000 Subject: [PATCH] Added base fixe git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4951 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/addons/addressbook/class_addressbook.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/addons/addressbook/class_addressbook.inc b/plugins/addons/addressbook/class_addressbook.inc index 1f1dff6be..454c00418 100644 --- a/plugins/addons/addressbook/class_addressbook.inc +++ b/plugins/addons/addressbook/class_addressbook.inc @@ -498,7 +498,9 @@ class addressbook extends plugin $tmp = $this->plInfo(); - + if(isset($_POST['storage_base'])){ + $this->storage_base = $_POST['storage_base']; + } switch ($_SESSION['show_info']){ @@ -506,7 +508,7 @@ class addressbook extends plugin $a_bases = $this->get_allowed_bases(); - if(!in_array_ics($this->storage_base,$a_bases)){ + if(!isset($a_bases[$this->storage_base])){ $base = key($this->get_allowed_bases()); $this->storage_base = $base; } -- 2.30.2