From 7ff9ee896eed4ebe3ea496ace4fed83f9159d431 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 18 Sep 2006 05:35:10 +0000 Subject: [PATCH] Fixed printer tab git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4700 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/tabs_workstation.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.30.2