summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0380aae)
raw | patch | inline | side by side (parent: 0380aae)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jul 2005 06:01:49 +0000 (06:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 22 Jul 2005 06:01:49 +0000 (06:01 +0000) |
plugins/admin/groups/class_groupApplication.inc | patch | blob | history |
diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc
index a57969d68238f32d5089577306c184b7a599f186..57bb2c0c599ff8e528cbb7b3e8b3538758f928ea 100644 (file)
reset ($this->apps);
$this->used_apps= array();
+
foreach ($this->gosaMemberApplication as $value){
- $this->used_apps[$value]= $this->apps[$value];
+ if(!isset($this->apps[$value])){
+ print_red(sprintf(_("The application named %s is no longer available and has been removed."),$value));
+ $test = $this->gosaMemberApplication;
+ $test = array_flip($test);
+ unset($test[$value]);
+ $this->gosaMemberApplication = array_flip($test);
+ }else{
+ $this->used_apps[$value]= $this->apps[$value];
+ }
}
}