Implement function io_safe_output
This commit is contained in:
parent
643a07a163
commit
f0e7a59ae7
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue