X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fadmin%2Fsystems%2Ftabs_workstation.inc;h=d5bab394b9dd6344d78821bd6ef71a949d5113a5;hb=1a1cd62339c5c255de11b0d5b78649e067e7bc34;hp=edfda8e02ad6721e600376c39daba2a4d7b8dda6;hpb=bcd990bd4ee1bbd8abfd2093f0879e8afdd8ca0b;p=gosa.git diff --git a/plugins/admin/systems/tabs_workstation.inc b/plugins/admin/systems/tabs_workstation.inc index edfda8e02..d5bab394b 100644 --- a/plugins/admin/systems/tabs_workstation.inc +++ b/plugins/admin/systems/tabs_workstation.inc @@ -12,12 +12,14 @@ class worktabs extends tabs foreach ($data as $tab){ if($tab['CLASS'] == "printgeneric"){ $this->by_name[$tab['CLASS']]= $tab['NAME']; - $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn,$category); + $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn,$this); $this->by_object[$tab['CLASS']]->parent= &$this; + $this->by_object[$tab['CLASS']]->set_acl_category($category); }else{ $this->by_name[$tab['CLASS']]= $tab['NAME']; - $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn,$category); + $this->by_object[$tab['CLASS']]= new $tab['CLASS']($this->config, $this->dn); $this->by_object[$tab['CLASS']]->parent= &$this; + $this->by_object[$tab['CLASS']]->set_acl_category($category); } /* Initialize current */ if ($this->current == ""){