Code

Updated groupware shared folder plugin
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Dec 2010 15:49:23 +0000 (15:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Dec 2010 15:49:23 +0000 (15:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20543 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index aa8c527a5fb5deb1469f6ed337429440717f7793..f293da6cae08b5ec988da0c6c28381cba7b0f2d6 100644 (file)
@@ -284,6 +284,12 @@ class GroupwareSharedFolder extends plugin
      */  
     function save()
     {
+
+        if(!$this->initialized){
+            echo "Nothing to save, plugin init failed!";
+            return;
+        }
+
         $this->folderList = $this->FolderWidget->save();
         $rpc = $this->config->getRpcHandle();