Version 1.0.19

This commit is contained in:
ultimatemember
2015-01-23 19:03:29 +02:00
parent e9be3908fd
commit 63820a8ad8
16 changed files with 143 additions and 16 deletions
+2
View File
@@ -74,6 +74,8 @@ class UM_Validation {
*** @is phone number
***/
function is_phone_number( $string ){
if ( !$string )
return true;
if ( !preg_match( $this->regex_phone_number, $string) )
return false;
return true;