Code

Fixed typo
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Nov 2010 10:27:34 +0000 (10:27 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Nov 2010 10:27:34 +0000 (10:27 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20180 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/personal/groupware/FolderWidget/class_FolderWidget.inc

index e907e8a713257bce09551feea17413e9995da7a1..434cb600a3b02681ddf27aaa1b217474c2868afc 100644 (file)
@@ -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);