Code

Added inherit && default fix for Terminal startup
[gosa.git] / plugins / admin / systems / tabs_workstation.inc
index ce5a65298982249e23e4aebe5160a41395583635..34298b095e7818f9a10ce20f89bfecb98ee40e95 100644 (file)
@@ -38,6 +38,7 @@ class worktabs extends tabs
        'dn' to all plugins */
     $baseobject= $this->by_object['workgeneric'];
     $this->dn= "cn=".$baseobject->cn.",ou=workstations,ou=systems,".$baseobject->base;
+    $baseobject->dn= $this->dn;
 
     foreach ($this->by_object as $key => $obj){
       $this->by_object[$key]->dn= $this->dn;
@@ -45,10 +46,13 @@ class worktabs extends tabs
     }
 
     tabs::save(TRUE);
+
     if(($this->by_object['printgeneric']->is_account==false)&&($this->by_object['printgeneric']->initially_was_account==true)){
       $this->by_object['printgeneric']->remove_from_parent();
     }
 
+    /* Fix tagging if needed */
+    $baseobject->handle_object_tagging();
   }
 
 }