diff options
-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;
}
// --------------------------------------------------------------------
|