commit | 885b0343036695ad673fc24ba7682fc155c54036 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Thu Sep 21 05:36:15 2006 +0000 |
committer | admin <devnull@localhost> | Thu Sep 21 05:36:15 2006 +0000 |
tree | 648e3d80b6082c905cc291e0bb1d033f57bf06ba | |
parent | cfc1fb38f0d7cd49c735730a603f7ca5a98a664d [diff] [blame] |
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index 065e7a2..f9b51d7 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php
@@ -524,7 +524,7 @@ */ function numeric($str) { - return ( ! is_numeric($str)) ? FALSE : TRUE; + return ( ! ereg("^[0-9]+$", $str)) ? FALSE : TRUE; } // --------------------------------------------------------------------