Code

Fixed init problem for shared folder.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Nov 2010 10:13:17 +0000 (10:13 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Nov 2010 10:13:17 +0000 (10:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20178 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index 4de0a56b842b22e794cae62583ee987ef2501b13..8736ff500bf1e26694cc1092ab67439f8f20f3bd 100644 (file)
@@ -265,7 +265,7 @@ class GroupwareSharedFolder extends plugin
         if(isset($_POST['GroupwareSharedFolder_posted'])){
             plugin::save_object();
         }
-        $this->FolderWidget->save_object();
+        if($this->FolderWidget) $this->FolderWidget->save_object();
     }