summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d1b743e)
raw | patch | inline | side by side (parent: d1b743e)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Oct 2007 09:02:43 +0000 (09:02 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 16 Oct 2007 09:02:43 +0000 (09:02 +0000) |
Save category sorting too
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7567 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7567 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 26486dfda6629acb9c5886df5c77c595abede50b..a70248b0a5693e5c9ce0ab72d8416c81f78b8323 100644 (file)
$this->Categories[""]="";
$this->attrs["gosaMemberApplication"]= array();
$this->attrs["gosaApplicationParameter"]= array();
+ $cat_id= 0 ;
foreach($this->Categories as $name => $cats){
$i =0;
if(isset($this->gosaMemberApplication[$name])){
foreach($this->gosaMemberApplication[$name] as $entry){
if(!preg_match("/__SEPARATOR__/",$entry['App'])){
$this->attrs["gosaMemberApplication"][]= $entry['App']."|".$name."|".$i;
+ $i ++;
}
- $i ++;
}
}
if(($i==0)&&(!empty($name))){
- $this->attrs["gosaMemberApplication"][]= "|".$name."|".$i;
+ $this->attrs["gosaMemberApplication"][]= "|".$name."|".$cat_id;
}
+ $cat_id++;
}
+
+
/* Are there application parameters to be saved */
$this->attrs['gosaApplicationParameter']= array();
foreach($this->appoption as $name => $value){