Code

Added Missing component category ACLs to reload()
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Oct 2008 12:25:06 +0000 (12:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 22 Oct 2008 12:25:06 +0000 (12:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12755 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/systems/admin/systems/class_systemManagement.inc

index 4db6240098d6528c55a4e4968f6ae2bd7d940bdd..ea74772a0c4751a85120467bebf4eb93bdd5f78f 100644 (file)
@@ -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'));