remove filter FILTER_SANITIZE_SPECIAL_CHARS when save settings

This commit is contained in:
Ibnu Maksum 2024-07-22 13:21:55 +07:00
parent 29db5cd139
commit 79585d54a1
No known key found for this signature in database
GPG key ID: 7FC82848810579E5
2 changed files with 3 additions and 4 deletions

View file

@ -157,9 +157,6 @@ switch ($action) {
}
// Save all settings including tax system
foreach ($_POST as $key => $value) {
$key = filter_var($key, FILTER_SANITIZE_SPECIAL_CHARS);
$value = filter_var($value, FILTER_SANITIZE_SPECIAL_CHARS);
$d = ORM::for_table('tbl_appconfig')->where('setting', $key)->find_one();
if ($d) {
$d->value = $value;

View file

@ -653,5 +653,7 @@
"Http_Chap": "Http-Chap",
"Hotspot_Authentication_Method__Make_sure_you_have_changed_your_hotspot_login_page_": "Hotspot Authentication Method. Make sure you have changed your hotspot login page.",
"Business": "Business",
"": ""
"": "",
"Source": "Source",
"Destination": "Destination"
}