From: cajus Date: Thu, 16 Oct 2008 09:06:21 +0000 (+0000) Subject: Fixed printer dialogs add user/group ordering X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3290e64b013ca346201aeb537218657105235ff5;p=gosa.git Fixed printer dialogs add user/group ordering git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12715 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_selectUserToPrinterDialog.inc b/gosa-plugins/goto/admin/systems/goto/class_selectUserToPrinterDialog.inc index c2bc48f11..9c9c5cbf4 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_selectUserToPrinterDialog.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_selectUserToPrinterDialog.inc @@ -116,8 +116,8 @@ class selectUserToPrinterDialog extends plugin $smarty->assign("regexPrinter" , $this->regex); $smarty->assign("deplistPrinter" , $deps);;//deplist); $smarty->assign("depselectPrinter" , $this->depselect); - $smarty->assign("gotoPrinters" , $tmp_printers); - $smarty->assign("gotoPrinterKeys" , array_flip($tmp_printers)); + $smarty->assign("gotoPrinters" , array_values($tmp_printers)); + $smarty->assign("gotoPrinterKeys" , array_keys($tmp_printers)); $smarty->assign("apply" , apply_filter()); $smarty->assign("alphabet" , generate_alphabet()); $smarty->assign("search_image" , get_template_path('images/lists/search.png'));