From: hickert Date: Tue, 17 Jan 2006 05:35:03 +0000 (+0000) Subject: Fixed department selection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=406e32214ea7fa06e2b4c75078e751d7c18b2854;p=gosa.git Fixed department selection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2494 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_selectUserToPrinterDialog.inc b/plugins/admin/systems/class_selectUserToPrinterDialog.inc index cde125b47..20ee7ea22 100644 --- a/plugins/admin/systems/class_selectUserToPrinterDialog.inc +++ b/plugins/admin/systems/class_selectUserToPrinterDialog.inc @@ -70,10 +70,8 @@ class selectUserToPrinterDialog extends plugin $this->regex=preg_replace("/\*\*/","*",$this->regex); } - $this->deplist=array_flip($this->config->departments); - $smarty->assign("regexPrinter" , $this->regex); - $smarty->assign("deplistPrinter" , $this->deplist); + $smarty->assign("deplistPrinter" , $this->config->idepartments);//deplist); $smarty->assign("depselectPrinter" , $this->depselect); $smarty->assign("gotoPrinters" , $this->getPrinter()); $smarty->assign("gotoPrinterKeys" , array_flip($this->getPrinter()));