From: hickert Date: Tue, 21 Feb 2006 08:28:13 +0000 (+0000) Subject: use idepartments instead of array_flip(config->departments) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1b2f00af855ca9426156ba0997f268a0a376e800;p=gosa.git use idepartments instead of array_flip(config->departments) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2711 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/environment/class_selectPrinterDialog.inc b/plugins/personal/environment/class_selectPrinterDialog.inc index 88bebb34b..9f880aa06 100644 --- a/plugins/personal/environment/class_selectPrinterDialog.inc +++ b/plugins/personal/environment/class_selectPrinterDialog.inc @@ -42,7 +42,7 @@ class selectPrinterDialog extends plugin $this->regex=preg_replace("/\*\*/","*",$this->regex); } - $this->deplist=array_flip($this->config->departments); + $this->deplist=$this->config->idepartments; $smarty->assign("regexPrinter" ,$this->regex); $smarty->assign("deplistPrinter" ,$this->deplist);