valid_email() to always return boolean
diff --git a/system/libraries/Email.php b/system/libraries/Email.php
index 0fcdbd8..fdb9be4 100644
--- a/system/libraries/Email.php
+++ b/system/libraries/Email.php
@@ -708,7 +708,7 @@
 	 */
 	public function valid_email($email)
 	{
-		return filter_var($email, FILTER_VALIDATE_EMAIL);
+		return (bool) filter_var($email, FILTER_VALIDATE_EMAIL);
 	}
 
 	// --------------------------------------------------------------------