Code

Updated ogroup c&p
[gosa.git] / plugins / admin / systems / tabs_component.inc
index deead42afbf482258c3e1b4a8d958ef2fb70c85b..60facee5a7c6ea884f29804a158571db2f7f4958 100644 (file)
@@ -20,12 +20,16 @@ class componenttabs extends tabs
        'dn' to all plugins */
     $baseobject= $this->by_object['componentgeneric'];
     $this->dn= "cn=$baseobject->cn,ou=netdevices,ou=systems,".$baseobject->base;
+    $baseobject->dn= $this->dn;
 
     foreach ($this->by_object as $key => $obj){
       $this->by_object[$key]->dn= $this->dn;
     }
 
     tabs::save(TRUE);
+
+    /* Fix tagging if needed */
+    $baseobject->handle_object_tagging();
   }
 
 }