Update settings.php

This commit is contained in:
Focuslinkstech 2024-07-14 09:59:10 +01:00
parent c4aa6aabfd
commit 70e8acedc5

View file

@ -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'])) {