From f4c90f413ad24a3bedf79f1effc0f534050d849f Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 4 Apr 2011 08:26:50 +0000 Subject: [PATCH] Updated item listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20638 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_ItemSelector.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_ItemSelector.inc b/gosa-core/include/class_ItemSelector.inc index 75ea6db83..fba6bb191 100644 --- a/gosa-core/include/class_ItemSelector.inc +++ b/gosa-core/include/class_ItemSelector.inc @@ -117,7 +117,7 @@ class ItemSelector { foreach ($bases as $path => $data) { // Build path style display - $this->pathMapping[$path]= $path == $this->releaseBase? '/' : $data['name']; + $this->pathMapping[$path]= preg_replace("/^".preg_quote($this->releaseBase,'/')."/i", "", $path); $this->releaseInfo[$path]['name'] = $data['name']; $this->releaseInfo[$path]['description'] = $data['desc']; } -- 2.30.2