diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2007-06-11 06:38:47 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2007-06-11 06:38:47 +0200 |
commit | 8de97ffd0629a4fe1f7dfe97276935793591a179 (patch) | |
tree | ccacddc9f1de92fe873e11d8f5b7e833e19f5f20 /system/libraries/Validation.php | |
parent | ad2353d3b0cf0e680812b7d4c25acd55908b1eb6 (diff) |
Diffstat (limited to 'system/libraries/Validation.php')
-rw-r--r-- | system/libraries/Validation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index c28713c1b..79ab76c6b 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php @@ -518,7 +518,7 @@ class CI_Validation { */
function alpha_numeric($str)
{
- return ( ! preg_match("/^([-a-z0-9])+$/i", $str)) ? FALSE : TRUE;
+ return ( ! preg_match("/^([a-z0-9])+$/i", $str)) ? FALSE : TRUE;
}
// --------------------------------------------------------------------
|