Code

Fixed backward link in group->application to work with depeth of more than 1 category
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Oct 2007 09:40:13 +0000 (09:40 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 Oct 2007 09:40:13 +0000 (09:40 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7532 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/groups/class_groupApplication.inc

index 70512fac22c2904a17bd094e4e895a0b7478da61..26486dfda6629acb9c5886df5c77c595abede50b 100644 (file)
@@ -713,8 +713,9 @@ class appgroup extends plugin
       $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"=>"&nbsp;","attach"=>"style='border-right:0px;'")));
     }