remove filter FILTER_SANITIZE_SPECIAL_CHARS when save settings
This commit is contained in:
parent
29db5cd139
commit
79585d54a1
@ -157,9 +157,6 @@ switch ($action) {
|
|||||||
}
|
}
|
||||||
// Save all settings including tax system
|
// Save all settings including tax system
|
||||||
foreach ($_POST as $key => $value) {
|
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();
|
$d = ORM::for_table('tbl_appconfig')->where('setting', $key)->find_one();
|
||||||
if ($d) {
|
if ($d) {
|
||||||
$d->value = $value;
|
$d->value = $value;
|
||||||
|
@ -653,5 +653,7 @@
|
|||||||
"Http_Chap": "Http-Chap",
|
"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.",
|
"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",
|
"Business": "Business",
|
||||||
"": ""
|
"": "",
|
||||||
|
"Source": "Source",
|
||||||
|
"Destination": "Destination"
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user