mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-04 07:12:48 -04:00
Try to fix checkNumeric (#4082)
This commit is contained in:
@@ -96,7 +96,7 @@ class Secure_Controller extends BaseController
|
||||
{
|
||||
foreach($this->request->getGet(null, FILTER_SANITIZE_FULL_SPECIAL_CHARS) as $value)
|
||||
{
|
||||
if (!parse_decimals($value))
|
||||
if (parse_decimals($value) === false)
|
||||
{
|
||||
echo 'false';
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user