From c4962bf0a442dbb227066385cf807beadfa58def Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 17 Nov 2010 09:55:37 +0000 Subject: [PATCH] Updated folder widget handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20261 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../GroupwareSharedFolder/class_GroupwareSharedFolder.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc b/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc index 4dab0ccc2..aa8c527a5 100644 --- a/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc +++ b/gosa-plugins/groupware/admin/groups/GroupwareSharedFolder/class_GroupwareSharedFolder.inc @@ -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); } -- 2.30.2