From: hickert Date: Mon, 22 Oct 2007 08:12:34 +0000 (+0000) Subject: Updated checl for enabled arp device handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9b78a721f08a9bbdac0787c111147a97fea4ab57;p=gosa.git Updated checl for enabled arp device handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7613 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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= "";