commit | 3c023b12c3d27f0e2773e671b854e52e2dc0d1d6 | [log] [tgz] |
---|---|---|
author | admin <devnull@localhost> | Sun Sep 24 03:04:10 2006 +0000 |
committer | admin <devnull@localhost> | Sun Sep 24 03:04:10 2006 +0000 |
tree | fa8f9c716ed8d81ddadcbcb6e64ffa0cc7adabbd | |
parent | 6bc014118c087c1c29ec0c1e509598218e3b5bc0 [diff] |
diff --git a/system/libraries/Validation.php b/system/libraries/Validation.php index f9b51d7..153657e 100644 --- a/system/libraries/Validation.php +++ b/system/libraries/Validation.php
@@ -524,7 +524,7 @@ */ function numeric($str) { - return ( ! ereg("^[0-9]+$", $str)) ? FALSE : TRUE; + return ( ! ereg("^[0-9\.]+$", $str)) ? FALSE : TRUE; } // --------------------------------------------------------------------