commit | 8de97ffd0629a4fe1f7dfe97276935793591a179 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:38:47 2007 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:38:47 2007 +0000 |
tree | ccacddc9f1de92fe873e11d8f5b7e833e19f5f20 | |
parent | ad2353d3b0cf0e680812b7d4c25acd55908b1eb6 [diff] |
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index c28713c..79ab76c 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php
@@ -518,7 +518,7 @@ */ function alpha_numeric($str) { - return ( ! preg_match("/^([-a-z0-9])+$/i", $str)) ? FALSE : TRUE; + return ( ! preg_match("/^([a-z0-9])+$/i", $str)) ? FALSE : TRUE; } // --------------------------------------------------------------------