From 406e32214ea7fa06e2b4c75078e751d7c18b2854 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 17 Jan 2006 05:35:03 +0000 Subject: [PATCH] Fixed department selection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2494 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_selectUserToPrinterDialog.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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())); -- 2.30.2