summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 919e77a)
raw | patch | inline | side by side (parent: 919e77a)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Nov 2005 08:00:33 +0000 (08:00 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 22 Nov 2005 08:00:33 +0000 (08:00 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2003 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 4ff9fa5e262ddc934051dc8bfd718f1c14fef7e5..af56827a189ab05a8ab7c63f42605bd6963c71af 100644 (file)
}
$this->attrs["gosaMemberApplication"]= array();
+ $lastSEP = false;
foreach ($this->gosaMemberApplication as $cat){
foreach($cat as $val){
-
$cats[$val['Cat']] ++;
if(!preg_match("/__SEPARATOR__/i",$val['App'])){
$this->attrs["gosaMemberApplication"][]= $val['App']."|".$val['Cat']."|".$cats[$val['Cat']];
+ $lastSEP = false;
+ }else{
+ if($lastSEP){
+ $cats[$val['Cat']] --;
+ }
+ $lastSEP = true;
}
}
}