From: hickert Date: Mon, 18 Sep 2006 05:35:10 +0000 (+0000) Subject: Fixed printer tab X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7ff9ee896eed4ebe3ea496ace4fed83f9159d431;p=gosa.git Fixed printer tab git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4700 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/tabs_workstation.inc b/plugins/admin/systems/tabs_workstation.inc index edfda8e02..e7f7d0a33 100644 --- a/plugins/admin/systems/tabs_workstation.inc +++ b/plugins/admin/systems/tabs_workstation.inc @@ -12,11 +12,11 @@ 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; }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; } /* Initialize current */