Code

Fixed department selection
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Jan 2006 05:35:03 +0000 (05:35 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 17 Jan 2006 05:35:03 +0000 (05:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2494 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_selectUserToPrinterDialog.inc

index cde125b4731f5ba5af7d3b43f95ca9d93fe046f9..20ee7ea22ac972993098a51637bf3c9c10fe59cc 100644 (file)
@@ -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()));