summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5dc87d0)
raw | patch | inline | side by side (parent: 5dc87d0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Oct 2007 08:12:34 +0000 (08:12 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 22 Oct 2007 08:12:34 +0000 (08:12 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7613 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_systemManagement.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_systemManagement.inc b/plugins/admin/systems/class_systemManagement.inc
index 08ffae4487ceabc1b9bb563b51d4dd3dbe5b4070..331e2add838bff3370b2cd26f758c97e79edc2a7 100644 (file)
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= "";