diff options
author | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:15:47 +0200 |
---|---|---|
committer | Timothy Warren <tim@timshomepage.net> | 2012-05-17 14:15:47 +0200 |
commit | d013c63462b4eaa2ac2f684b2ad498a9c4fb7dd5 (patch) | |
tree | a917dd9506043a8ef8be4d5b9eeeea9cc5065c00 /system/helpers | |
parent | 421d6abf1ad3a1cfb96f9aad326c72c9b6fa3a06 (diff) |
tweak and changelog entry
Diffstat (limited to 'system/helpers')
-rw-r--r-- | system/helpers/email_helper.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/system/helpers/email_helper.php b/system/helpers/email_helper.php index ea9f6105d..628667d4d 100644 --- a/system/helpers/email_helper.php +++ b/system/helpers/email_helper.php @@ -42,15 +42,12 @@ if ( ! function_exists('valid_email')) /** * Validate email address * - * Updated to be more accurate to RFC822 - * see: http://www.iamcal.com/publish/articles/php/parsing_email/ - * * @param string * @return bool */ function valid_email($email) { - return (bool) filter_var($email, FILTER_VALIDATE_EMAIL); + return filter_var($email, FILTER_VALIDATE_EMAIL); } } |