Code

Updated release selector
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Mar 2010 06:14:34 +0000 (06:14 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 30 Mar 2010 06:14:34 +0000 (06:14 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17366 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/autocomplete.php

index e6bbdbde2b69c765d47a1bee636ccff4dee473d1..3dcabf0dc48b46e90c32a9876e181b5bad950033 100644 (file)
@@ -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('/&quot;/', '"', current($_POST));
+    $department_info= session::get("department_info");
 
-    $config = session::global_get('config');
-    foreach ($config->department_info as $dn => $info) {
+    $search= preg_replace('/&quot;/', '"', current($_POST));
+    foreach ($department_info as $dn => $info) {
       if (!isset($pathMapping[$dn])) {
         continue;
       }