From: hickert Date: Wed, 22 Oct 2008 12:25:06 +0000 (+0000) Subject: Added Missing component category ACLs to reload() X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9e3a73c78de75ff03797f25a81aaf04c75bfa18e;p=gosa.git Added Missing component category ACLs to reload() git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12755 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 4db624009..ea74772a0 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -989,7 +989,7 @@ class systems extends plugin /* Post handling for activated systems */ - if($this->systab->was_activated){ + if(isset($this->systab->was_activated) && $this->systab->was_activated){ $this->activate_new_device($this->systab->dn); } @@ -1201,7 +1201,7 @@ class systems extends plugin /* Attributes to fetch */ $sys_attrs = array("cn", "description", "macAddress", "objectClass", "sambaDomainName","gotoMode","FAIclass"); - $sys_categories = array("terminal", "workstation", "server", "phone" ,"printer","incoming","winworkstation"); + $sys_categories = array("terminal", "workstation", "server", "phone" ,"printer","incoming","winworkstation","component"); /* Add FAIstate to attributes if FAI is activated */ $tmp = $this->config->search("faiManagement", "CLASS",array('menu','tabs'));