Code

Updated System type & os type management, can't create existing entries, can't delete...
[gosa.git] / 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()));