From: hickert Date: Mon, 4 Apr 2011 08:26:50 +0000 (+0000) Subject: Updated item listing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f4c90f413ad24a3bedf79f1effc0f534050d849f;p=gosa.git Updated item listing git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20638 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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']; }