From: hickert Date: Wed, 13 Oct 2010 09:12:29 +0000 (+0000) Subject: Updated FolderWidget X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6d410e8e2055afac818ed8ebc80daca70eb8d478;p=gosa.git Updated FolderWidget -Removed debug code -Fixed regex git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20020 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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();