Code

Added config
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Jan 2010 11:49:28 +0000 (11:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 12 Jan 2010 11:49:28 +0000 (11:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15157 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc

index a3f60a1141ded1c2757bc2f525500a43139c6828..22010af058aafb5ce91df6f870f7e7e9a0f6c152 100644 (file)
@@ -5,9 +5,10 @@ class filterSYSTEMS {
   static function query($base, $scope, $filter, $attributes, $category, $objectStorage= "")
   {
     $ui = get_userinfo();
+    global $config;
 
     // Check whether the arp handling active or not
-    $arp_handling_active = ($this->config->search("ArpNewDevice","CLASS",array('tabs')) != "");
+    $arp_handling_active = ($config->search("ArpNewDevice","CLASS",array('tabs')) != "");
 
     $entries = filterLDAP::query($base, $scope, $filter, $attributes, $category, $objectStorage);
     foreach($entries as $key => $entry){