From 031eaa24d47bee19dbc6dd0f3907005e8f1a75bc Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 30 Mar 2010 06:14:34 +0000 Subject: [PATCH] Updated release selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17366 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/autocomplete.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gosa-core/html/autocomplete.php b/gosa-core/html/autocomplete.php index e6bbdbde2..3dcabf0dc 100644 --- a/gosa-core/html/autocomplete.php +++ b/gosa-core/html/autocomplete.php @@ -42,10 +42,10 @@ if (isset($_GET['type']) && $_GET['type'] == "base") { if (session::is_set("pathMapping") && count($_POST) == 1) { $res= ""; $pathMapping= session::get("pathMapping"); - $search= preg_replace('/"/', '"', current($_POST)); + $department_info= session::get("department_info"); - $config = session::global_get('config'); - foreach ($config->department_info as $dn => $info) { + $search= preg_replace('/"/', '"', current($_POST)); + foreach ($department_info as $dn => $info) { if (!isset($pathMapping[$dn])) { continue; } -- 2.30.2