From 976cc77b9c0b77094ac375a4e305005dcb1acc96 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 4 Apr 2011 08:37:42 +0000 Subject: [PATCH] Updated Item selector git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20639 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 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']; } -- 2.30.2