From 33ce29bacccb3c71756e148077440bdcfa6b08e1 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 13 Feb 2006 09:42:46 +0000 Subject: [PATCH] Some fixes fpr cleanup functionality git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2670 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/connectivity/class_kolabAccount.inc | 2 +- plugins/personal/samba/class_sambaAccount.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/personal/connectivity/class_kolabAccount.inc b/plugins/personal/connectivity/class_kolabAccount.inc index 3f9e952d6..2b5ae71c8 100644 --- a/plugins/personal/connectivity/class_kolabAccount.inc +++ b/plugins/personal/connectivity/class_kolabAccount.inc @@ -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."); } diff --git a/plugins/personal/samba/class_sambaAccount.inc b/plugins/personal/samba/class_sambaAccount.inc index d0032add2..c02f45af9 100644 --- a/plugins/personal/samba/class_sambaAccount.inc +++ b/plugins/personal/samba/class_sambaAccount.inc @@ -58,7 +58,7 @@ class sambaAccount extends plugin var $sambaLogonTime= "0"; var $sambaLogoffTime= "2147483647"; var $sambaKickoffTime= "2147483647"; - var $sambaPwdCanChange= "0"; + var $sambaPwdCanChange= ""; var $sambaPwdMustChange= "0"; var $sambaAcctFlags= "[UX ]"; var $sambaHomePath= ""; -- 2.30.2