From 7db37248cecba02ae776b07b8a801c0625e2ca85 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 26 Sep 2011 19:06:48 -0500 Subject: [PATCH] Temporarily disable e-mail filter because results are incoherent and prevent e-mail password reminder --- main/inc/lib/main_api.lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/main/inc/lib/main_api.lib.php b/main/inc/lib/main_api.lib.php index 0458d5db08..461ec0e285 100644 --- a/main/inc/lib/main_api.lib.php +++ b/main/inc/lib/main_api.lib.php @@ -693,6 +693,7 @@ function api_valid_url($url, $absolute = false) { * @return mixed Returns the e-mail if it is valid, FALSE otherwise. */ function api_valid_email($address) { + // disable for now because the results are incoherent - YW 20110926 if (function_exists('filter_var')) { // Introduced in PHP 5.2. return filter_var($address, FILTER_VALIDATE_EMAIL); } else {