Minor fix

This commit is contained in:
nikolark committed 2014-06-12 14:59:41 +02:00
1 parent 33e80805ad
commit 069738e2e0
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -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);
}
-1
View File
@@ -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']
*/