From: cajus Date: Wed, 19 Apr 2006 08:47:38 +0000 (+0000) Subject: Added / to the list of allowed characters for phone numbers X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f5ebe8e2fac2af55eee67d9d837608959536ff67;p=gosa.git Added / to the list of allowed characters for phone numbers git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3061 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index 52f0abbfb..dcd4ccaaf 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -865,7 +865,7 @@ function is_phone_nr($nr) return (TRUE); } - return preg_match ("/^[0-9 ()+*-]+$/", $nr); + return preg_match ("/^[\/0-9 ()+*-]+$/", $nr); }