From 4b660e788e281285a2c75d270ec75156416af3f1 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 10 Jul 2008 15:18:52 +0000 Subject: [PATCH] Fixed name, fixed display of departments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11598 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_MultiSelectWindow.inc | 6 ++++-- gosa-core/include/class_config.inc | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc index fa59990e0..bb67e2698 100644 --- a/gosa-core/include/class_MultiSelectWindow.inc +++ b/gosa-core/include/class_MultiSelectWindow.inc @@ -33,7 +33,7 @@ class MultiSelectWindow{ var $string_Title = ""; var $string_ListHeader = ""; - var $string_ListDropDown= ""; + var $string_ListDropDown= ""; var $string_Summary = ""; var $string_Information = ""; @@ -48,9 +48,11 @@ class MultiSelectWindow{ var $is_headpage = false; // if true the design changes var $filterName = "Liste"; var $DepartmentsAdded = false; - var $Added_Departments = array(); + var $Added_Departments = array(); var $selectedBase = ""; + private $departments= array(); + var $DivHeight = ""; var $HideFilterPart = false; diff --git a/gosa-core/include/class_config.inc b/gosa-core/include/class_config.inc index c5d0da140..8d839877c 100644 --- a/gosa-core/include/class_config.inc +++ b/gosa-core/include/class_config.inc @@ -777,7 +777,7 @@ class config { } /* Fix name, if it contains a replace tag */ - $name= @LDAP::fix($name); + $name= preg_replace('/\\\\,/', ',', @LDAP::fix($name)); /* Check if current name is too long, then cut it */ if(mb_strlen($name, 'UTF-8')> $max_size){ -- 2.30.2