valid_email() to always return boolean
diff --git a/system/helpers/email_helper.php b/system/helpers/email_helper.php
index 628667d..2a63b36 100644
--- a/system/helpers/email_helper.php
+++ b/system/helpers/email_helper.php
@@ -47,7 +47,7 @@
 	 */
 	function valid_email($email)
 	{
-		return filter_var($email, FILTER_VALIDATE_EMAIL);
+		return (bool) filter_var($email, FILTER_VALIDATE_EMAIL);
 	}
 }