commit | 1adf1db17260090e2678f209ad429b0b186e3dbc | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:46:57 2007 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Mon Jun 11 04:46:57 2007 +0000 |
tree | 692a825d11a340e21c2498c2d75321c026e964d4 | |
parent | 63966df193cb275d957ffc64398f6fe941c00e31 [diff] |
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index 79ab76c..9600534 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php
@@ -504,7 +504,7 @@ */ function alpha($str) { - return ( ! preg_match("/^([-a-z])+$/i", $str)) ? FALSE : TRUE; + return ( ! preg_match("/^([a-z])+$/i", $str)) ? FALSE : TRUE; } // --------------------------------------------------------------------