Code

Set DNS hidden if acount is disabled
[gosa.git] / plugins / personal / connectivity / class_kolabAccount.inc
index 3f9e952d63e37ce17fe8d7c0e716fc29f13ef551..2b5ae71c864e4d6a8fca2f7367dc92493ea134f6 100644 (file)
@@ -233,7 +233,7 @@ class kolabAccount extends plugin
     }
 
     /* Check for URL scheme... */
-    if ($this->calFBURL != "" && !preg_match('/^[^:/]+://[a-z0-9_/.+~-]+$/i', $this->calFBURL)){
+    if ($this->calFBURL != "" && !@preg_match('/^[^:/]+://[a-z0-9_/.+~-]+$/i', $this->calFBURL)){
       $message[]= _("The value specified as Free Busy Information URL is invalid.");
     }