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);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
* "registration_url": "/snapporder/register_partial.php?userid=4331&token=lol"
|
||||
* }
|
||||
*
|
||||
* TODO Add entry in din_userupdate
|
||||
* TODO maybe check $_SERVER['REQUEST_METHOD']
|
||||
*/
|
||||
|
||||
|
||||
Reference in new issue
Block a user