From 698d2c0e9783898024e3efeee678c8f70d4c67a7 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 22 Nov 2005 08:00:33 +0000 Subject: [PATCH] Fixed priority git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2003 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupApplication.inc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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; } } } -- 2.30.2