Code

Fixed non defined instances of ui/config
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 Aug 2009 13:48:17 +0000 (13:48 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 21 Aug 2009 13:48:17 +0000 (13:48 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14106 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/include/class_filterLDAP.inc

index 53084d28a2463c119143d842c47c24838d3ecf1e..3636af9f33a55dff40a2ad7cad6006d1794006f6 100644 (file)
@@ -14,8 +14,8 @@ class filterLDAP {
 
   static function get_list($base, $filter, $attributes, $category, $objectStorage, $flags= GL_SUBSEARCH)
   {
-    global $ui;
-    global $config;
+    $ui= session::global_get('ui');
+    $config= session::global_get('config');
 
     // Move to arrays for category and objectStorage
     if (!is_array($category)) {