From 3b4a4fb38bb5deee7437fb9bd9b1b8837a47d817 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 12 Oct 2007 09:40:13 +0000 Subject: [PATCH] Fixed backward link in group->application to work with depeth of more than 1 category git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7532 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/groups/class_groupApplication.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index 70512fac2..26486dfda 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -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"=>" ","attach"=>"style='border-right:0px;'"))); } -- 2.30.2