From 9b78a721f08a9bbdac0787c111147a97fea4ab57 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 22 Oct 2007 08:12:34 +0000 Subject: [PATCH] Updated checl for enabled arp device handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7613 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_systemManagement.inc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc index 08ffae448..331e2add8 100644 --- a/plugins/admin/systems/class_systemManagement.inc +++ b/plugins/admin/systems/class_systemManagement.inc @@ -1246,8 +1246,10 @@ class systems extends plugin function get_system_type($attrs) { - #$enable_arp_device_handling = preg_match("/ArpNewDevice/i",search_config($this->config->data['TABS'], "ArpNewDevice", "CLASS")); - $enable_arp_device_handling = TRUE; + if($this->config->search("ArpNewDevice","CLASS",array('tabs')) != ""){ + $enable_arp_device_handling = TRUE; + } + $classes = $attrs['objectClass']; $type= ""; -- 2.30.2