Code

Fix base selection from htoplug dialog
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 12:58:13 +0000 (12:58 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 14 Feb 2006 12:58:13 +0000 (12:58 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2691 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/environment/class_hotplugDialog.inc

index dc9fbfdf2739f5b19ca399877a98aa32215a441d..08e3f3386a1bf18dd5bd9db504c86fa6e0534b55 100644 (file)
@@ -57,7 +57,7 @@ class hotplugDialog extends plugin
         $this->regex=preg_replace("/\*\*/","*",$this->regex);
       }
 
-      $this->deplist=array_flip($this->config->departments);
+      $this->deplist=$this->config->idepartments;
 
       $this->hotplugDevices = $this->getHotplugs();
       $smarty->assign("regexHot"    ,$this->regex);