From: hickert Date: Mon, 4 Apr 2011 08:37:42 +0000 (+0000) Subject: Updated Item selector X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=976cc77b9c0b77094ac375a4e305005dcb1acc96;p=gosa.git Updated Item selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20639 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_ItemSelector.inc b/gosa-core/include/class_ItemSelector.inc index fba6bb191..0cc795514 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]= preg_replace("/^".preg_quote($this->releaseBase,'/')."/i", "", $path); + $this->pathMapping[$path]= preg_replace("/^".preg_quote($this->releaseBase,'/')."\/?/i", "/", $path); $this->releaseInfo[$path]['name'] = $data['name']; $this->releaseInfo[$path]['description'] = $data['desc']; }