summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ce6fc44)
raw | patch | inline | side by side (parent: ce6fc44)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Dec 2005 13:09:55 +0000 (13:09 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 7 Dec 2005 13:09:55 +0000 (13:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2249 594d385d-05f5-0310-b6e9-bd551577e9d8
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 f6d17c4f9bbea34a64fc6918f306b9ae774c97b2..f11234051cd997648294d38edb8593b8517a15a5 100644 (file)
$this->gosaMemberApplication = $tmp2;
$cats[""]="";
foreach($cats as $cat ){
- $max = max($prios[$cat]);
- $min = 1;//min($prios[$cat]);
- $last = false;
- for($i = $min ; $i < $max ; $i++){
- if(!isset($prios[$cat][$i])){
- if($last == false){
- $this->gosaMemberApplication[$cat][$i]['App'] = "__SEPARATOR__".$i;
-
- $last = true;
+ if((isset($prios[$cat]))&&(count($prios[$cat]))){
+ $max = max($prios[$cat]);
+ $min = 1;//min($prios[$cat]);
+ $last = false;
+ for($i = $min ; $i < $max ; $i++){
+ if(!isset($prios[$cat][$i])){
+ if($last == false){
+ $this->gosaMemberApplication[$cat][$i]['App'] = "__SEPARATOR__".$i;
+
+ $last = true;
+ }
+ }else{
+ $last = false;
}
- }else{
- $last = false;
}
}
}