From 70e8acedc54064ee15eb706ce828c05da876beaa Mon Sep 17 00:00:00 2001 From: Focuslinkstech <45756999+Focuslinkstech@users.noreply.github.com> Date: Sun, 14 Jul 2024 09:59:10 +0100 Subject: [PATCH] Update settings.php --- system/controllers/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/controllers/settings.php b/system/controllers/settings.php index e0d88bd..d0bbf87 100644 --- a/system/controllers/settings.php +++ b/system/controllers/settings.php @@ -114,7 +114,7 @@ switch ($action) { $custom_tax_rate = filter_var(_post('custom_tax_rate'), FILTER_SANITIZE_SPECIAL_CHARS); if (preg_match('/[^0-9.]/', $custom_tax_rate)) { r2(U . 'settings/app', 'e', 'Special characters are not allowed in tax rate'); - return; + die(); } run_hook('save_settings'); #HOOK if (!empty($_FILES['logo']['name'])) {