Cleaned tags for affected fields

This commit is contained in:
Jose Gonzalez 2020-06-09 10:22:54 +02:00
parent c8d8b1a312
commit 73cf98fc02
1 changed files with 4 additions and 4 deletions

View File

@ -1212,8 +1212,8 @@ function config_update_config()
// --------------------------------------------------
// CUSTOM VALUES POST PROCESS
// --------------------------------------------------
$custom_value = get_parameter('custom_value');
$custom_text = get_parameter('custom_text');
$custom_value = io_safe_input(strip_tags(io_safe_output(get_parameter('custom_value'))));
$custom_text = io_safe_input(strip_tags(io_safe_output(get_parameter('custom_text'))));
$custom_value_add = (bool) get_parameter('custom_value_add', 0);
$custom_value_to_delete = get_parameter('custom_value_to_delete', 0);
@ -1284,8 +1284,8 @@ function config_update_config()
// --------------------------------------------------
// MODULE CUSTOM UNITS
// --------------------------------------------------
$custom_unit = get_parameter('custom_module_unit');
$custom_unit_to_delete = get_parameter('custom_module_unit_to_delete', '');
$custom_unit = io_safe_input(strip_tags(io_safe_output(get_parameter('custom_module_unit'))));
$custom_unit_to_delete = io_safe_input(strip_tags(io_safe_output(get_parameter('custom_module_unit_to_delete', ''))));
if (!empty($custom_unit)) {
if (!add_custom_module_unit(