Minor fix
This commit is contained in:
1 parent
33e80805ad
commit
069738e2e0
2 files changed
+1
-2
No files matched your search
@@ -1724,7 +1724,7 @@ function clean_date($date) {
|
||||
function valid_phonenumber($phone) {
|
||||
return preg_match('/^\+?\d{8,15}$/i', $phone);
|
||||
}
|
||||
function valida_email($email) {
|
||||
function valid_email($email) {
|
||||
return filter_var($email, FILTER_VALIDATE_EMAIL);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user