Code

Added / to the list of allowed characters for phone numbers
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Apr 2006 08:47:38 +0000 (08:47 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 19 Apr 2006 08:47:38 +0000 (08:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3061 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index 52f0abbfb5840bd2f77394995836315507d4d064..dcd4ccaaf19915d297795cecf95c2de43bb66404 100644 (file)
@@ -865,7 +865,7 @@ function is_phone_nr($nr)
     return (TRUE);
   }
 
-  return preg_match ("/^[0-9 ()+*-]+$/", $nr);
+  return preg_match ("/^[\/0-9 ()+*-]+$/", $nr);
 }