From f3277b0d387613627ba1229aba292e89cbefe392 Mon Sep 17 00:00:00 2001 From: jekkos Date: Sat, 5 Oct 2024 02:35:17 +0200 Subject: [PATCH] Try to fix checkNumeric (#4082) --- app/Controllers/Secure_Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/Secure_Controller.php b/app/Controllers/Secure_Controller.php index 27b656330..54b056af7 100644 --- a/app/Controllers/Secure_Controller.php +++ b/app/Controllers/Secure_Controller.php @@ -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;