Code

Removed bug that causes the removal of kolabInvitationPolicies when flipping tabs
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 May 2005 15:35:47 +0000 (15:35 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 20 May 2005 15:35:47 +0000 (15:35 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@301 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/connectivity/class_kolabAccount.inc

index 705e25c00e085a7dbc6c9fad4e6ece8f1cbc5884..c8b9b5537289c3c3db6da87f72714da0b76510b7 100644 (file)
@@ -289,6 +289,11 @@ class kolabAccount extends plugin
       $nr++;
     }
     
+    /* If this one is empty, preset with ACT_MANUAL for anonymous users */
+    if (count ($this->kolabInvitationPolicy) == 0){
+      $this->kolabInvitationPolicy= array("ACT_MANUAL");
+    }
+
   }