diff options
author | Rick Ellis <rick.ellis@ellislab.com> | 2007-06-11 06:46:57 +0200 |
---|---|---|
committer | Rick Ellis <rick.ellis@ellislab.com> | 2007-06-11 06:46:57 +0200 |
commit | 1adf1db17260090e2678f209ad429b0b186e3dbc (patch) | |
tree | 692a825d11a340e21c2498c2d75321c026e964d4 /system | |
parent | 63966df193cb275d957ffc64398f6fe941c00e31 (diff) |
Diffstat (limited to 'system')
-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 79ab76c6b..960053426 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php @@ -504,7 +504,7 @@ class CI_Validation { */
function alpha($str)
{
- return ( ! preg_match("/^([-a-z])+$/i", $str)) ? FALSE : TRUE;
+ return ( ! preg_match("/^([a-z])+$/i", $str)) ? FALSE : TRUE;
}
// --------------------------------------------------------------------
|