From: hickert Date: Tue, 22 Nov 2005 08:00:33 +0000 (+0000) Subject: Fixed priority X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=698d2c0e9783898024e3efeee678c8f70d4c67a7;p=gosa.git Fixed priority git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2003 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index 4ff9fa5e2..af56827a1 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -494,12 +494,18 @@ class appgroup extends plugin } $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; } } }