Implement function io_safe_output

This commit is contained in:
manuel.montes 2018-05-25 14:21:52 +02:00
parent 643a07a163
commit f0e7a59ae7
1 changed files with 1 additions and 0 deletions

View File

@ -109,6 +109,7 @@ if (is_ajax()) {
'nombre' => $module_names
);
$module_plugin_macros = db_get_all_rows_filter('tagente_modulo', $filter, $fields);
$module_plugin_macros = io_safe_output($module_plugin_macros);
if (empty($module_plugin_macros)) $module_plugin_macros = array();
$module_plugin_macros = array_reduce($module_plugin_macros, function($carry, $item) {