summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2f58bc2)
raw | patch | inline | side by side (parent: 2f58bc2)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 09:44:54 +0000 (09:44 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 12 Oct 2007 09:44:54 +0000 (09:44 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7533 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 1ebb49de5000972d82a6a3e01ba2ea560c7a6d6a..ff7640e908b4aa0612fd04fbc00cc5c6c75bf33b 100644 (file)
}
unset($this->gosaMemberApplication[$cat]);
unset($this->Categories[$cat]);
- foreach($this->Categories as $key => $name){
- if(preg_match("/^".$cat."\/.*/",$key)){
- foreach($this->gosaMemberApplication[$key] as $app){
- $free_apps[] = $app['App'];
- }
- unset($this->gosaMemberApplication[$key]);
- unset($this->Categories[$key]);
+ }
+ foreach($this->Categories as $key => $name){
+ if(preg_match("/^".normalizePreg($cat)."\/.*/",$key)){
+ foreach($this->gosaMemberApplication[$key] as $app){
+ $free_apps[] = $app['App'];
}
+ unset($this->gosaMemberApplication[$key]);
+ unset($this->Categories[$key]);
}
}
foreach($free_apps as $app){
$tmp = split("/",$this->curCatDir);
$bbk = "";
for($i = 0 ; $i < ($cnt -1 ) ; $i++){
- $bbk .= $tmp[$i];
+ $bbk .= $tmp[$i]."/";
}
+ $bbk = preg_replace("/\/$/","",$bbk);
$div2 ->AddEntry(array(array("string"=>sprintf($linkopen,base64_encode($bbk),".. ["._("Back")."]")),array("string"=>" ","attach"=>"style='border-right:0px;'")));
}