From 8de97ffd0629a4fe1f7dfe97276935793591a179 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Mon, 11 Jun 2007 04:38:47 +0000 Subject: --- system/libraries/Validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries/Validation.php') 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; } // -------------------------------------------------------------------- -- cgit v1.2.3-24-g4f1b