summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2007-06-11 06:46:57 +0200
committerRick Ellis <rick.ellis@ellislab.com>2007-06-11 06:46:57 +0200
commit1adf1db17260090e2678f209ad429b0b186e3dbc (patch)
tree692a825d11a340e21c2498c2d75321c026e964d4
parent63966df193cb275d957ffc64398f6fe941c00e31 (diff)
-rw-r--r--system/libraries/Validation.php2
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;
}
// --------------------------------------------------------------------