Solved issue with UTF8 chars in configuration_data field

This commit is contained in:
Jose Gonzalez 2020-02-06 13:02:58 +01:00
parent 4670ed922a
commit 5b08e71ec6
1 changed files with 8 additions and 1 deletions

View File

@ -830,7 +830,14 @@ foreach ($modules as $module) {
$data[4] .= ui_print_help_tip(__('The policy modules of data type will only update their intervals when policy is applied.'), true);
}
$data[5] = ui_print_truncate_text(utf8_decode($module['descripcion']), 'description', false);
if ($module['id_modulo'] == MODULE_DATA && $module['id_policy_module'] != 0) {
$module_description = utf8_decode($module['descripcion']);
} else {
$module_description = $module['descripcion'];
}
$data[5] = ui_print_truncate_text($module_description, 'description', false);
$data[6] = ui_print_status_image($status, $title, true);