summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9cb08af)
raw | patch | inline | side by side (parent: 9cb08af)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Jun 2008 07:34:43 +0000 (07:34 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 20 Jun 2008 07:34:43 +0000 (07:34 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11385 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_MultiSelectWindow.inc | patch | blob | history |
diff --git a/gosa-core/include/class_MultiSelectWindow.inc b/gosa-core/include/class_MultiSelectWindow.inc
index 2787a80871c0cd7196e08a89702d063f32435baf..c82429d196a880cf8817dc5cabb60eef15de1b2d 100644 (file)
$ids = $this->config->idepartments;
foreach($modules as $module){
$d = $ui->get_module_departments($module);
- foreach($d as $department){
- $departments[$department] = $department;
+
+ foreach($ids as $department => $desc){
+ if(in_array($department,$d)){
+ $departments[$department] = $department;
+ }
}
}