From: hickert Date: Wed, 3 Nov 2010 10:27:34 +0000 (+0000) Subject: Fixed typo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=993342993de81470f43c702cda77ea0065d88322;p=gosa.git Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20180 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 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);