commit | d37f0e9cfe106ff1a15b8f09df27e4f3a004b907 | [log] [tgz] |
---|---|---|
author | Timothy Warren <tim@timshomepage.net> | Wed Jun 27 08:21:59 2012 -0400 |
committer | Timothy Warren <tim@timshomepage.net> | Wed Jun 27 08:21:59 2012 -0400 |
tree | 963d70f006e24d34c62cebd27208e16c83a163a7 | |
parent | 384b34217b3709d3b3f11dbda3ac5c53274ff117 [diff] [blame] |
Correct variable names
diff --git a/system/libraries/Form_validation.php b/system/libraries/Form_validation.php index 9ef5872..f3087f8 100644 --- a/system/libraries/Form_validation.php +++ b/system/libraries/Form_validation.php
@@ -1076,7 +1076,7 @@ */ public function valid_email($str) { - return filter_var($email, FILTER_VALIDATE_EMAIL); + return filter_var($str, FILTER_VALIDATE_EMAIL); } // --------------------------------------------------------------------