From 6d410e8e2055afac818ed8ebc80daca70eb8d478 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 13 Oct 2010 09:12:29 +0000 Subject: [PATCH] Updated FolderWidget -Removed debug code -Fixed regex git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20020 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/groupware/FolderWidget/class_FolderWidget.inc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc index 071de13fd..b98c5be2a 100644 --- a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc +++ b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc @@ -160,11 +160,9 @@ class FolderWidget extends plugin $entryPath = (empty($entryPath)) ? $name : "{$entryPath}{$separator}{$name}"; $entryBase = $this->pathToDn($entryPath); - echo $entryPath."
"; - // Add eventually missing subFolders, to enable the navigation // into these folders via the management lists. - if(preg_match("/^".preg_quote($this->accountPrefix,'/').$this->accountPrefix, $entryPath)){ + if(preg_match("/^".preg_quote($this->accountPrefix,'/')."/", $entryPath)){ if(!isset($current[$entryPath])){ $current[$entryPath] = array(); $current[$entryPath]['children'] = array(); -- 2.30.2