From ed80423587ad6130201af2a79e1b54838415d523 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Jan 2010 11:49:28 +0000 Subject: [PATCH] Added config git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15157 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc b/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc index a3f60a114..22010af05 100644 --- a/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc +++ b/gosa-plugins/systems/admin/systems/class_filterSYSTEMS.inc @@ -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){ -- 2.30.2