Code

Fixed printer tab
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Sep 2006 05:35:10 +0000 (05:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 18 Sep 2006 05:35:10 +0000 (05:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4700 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/tabs_workstation.inc

index edfda8e02ad6721e600376c39daba2a4d7b8dda6..e7f7d0a3323f73a87c618387ff430a9383868360 100644 (file)
@@ -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 */