diff --git a/plugins/admin/systems/tabs_workstation.inc b/plugins/admin/systems/tabs_workstation.inc
index 4afdf8333840e5ed56a086f922ff74a80e8e2b58..34298b095e7818f9a10ce20f89bfecb98ee40e95 100644 (file)
'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;
}
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();
}