From 993342993de81470f43c702cda77ea0065d88322 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 3 Nov 2010 10:27:34 +0000 Subject: [PATCH] Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20180 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/groupware/FolderWidget/class_FolderWidget.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc index e907e8a71..434cb600a 100644 --- a/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc +++ b/gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc @@ -273,8 +273,9 @@ class FolderWidget extends plugin { // Do not allow to remove the root base. // This would mean the account itself was removed. - if($base = $this->rootBase) return; - + if($base == $this->rootBase) return; + + $this->_recursiveRemoveByBase($this->folderList['recursive'], $base); $this->_recursiveRemoveByBase($this->folderList['linear'], $base); $this->FolderWidgetListing->setFolderList($this->folderList); -- 2.30.2