Code

Updated folder widget handling
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Nov 2010 09:55:37 +0000 (09:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 17 Nov 2010 09:55:37 +0000 (09:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20261 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc

index 4dab0ccc284f98f5fef0076a29307bedb3be856a..aa8c527a5fb5deb1469f6ed337429440717f7793 100644 (file)
@@ -367,7 +367,9 @@ class GroupwareSharedFolder extends plugin
         }
 
         // Merge Folder messages.
-        $messages = array_merge($messages,$this->FolderWidget->check());
+        if($this->FolderWidget instanceOf FolderWidget){
+            $messages = array_merge($messages,$this->FolderWidget->check());
+        }
 
         return($messages);
     }