OSB enhancements to date
This commit is contained in:
@@ -315,7 +315,7 @@ class CORE_validate {
|
||||
}
|
||||
|
||||
public function validate_email($data,$field) {
|
||||
if (preg_match('/^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,4}$/',$data)) {
|
||||
if (preg_match('/^[a-zA-Z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,4}$/',$data)) {
|
||||
return true;
|
||||
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user