Merge branch 'ent-12883-Widget-general-visual-maps-report-aparecen-entities' into 'develop'

fix entities

See merge request artica/pandorafms!6938
This commit is contained in:
Rafael Ameijeiras 2024-02-21 15:24:28 +00:00
commit 40d612f22a
1 changed files with 2 additions and 2 deletions

View File

@ -253,7 +253,7 @@ class MapsStatusWidget extends Widget
$fields = array_reduce(
$dataVc,
function ($carry, $item) {
$carry[$item['id']] = $item['name'];
$carry[$item['id']] = io_safe_output($item['name']);
return $carry;
},
[]
@ -350,7 +350,7 @@ class MapsStatusWidget extends Widget
// This will give us the group name.
$data[0] = '<a href="'.$url.'">';
$data[0] .= $user_layouts[$id_layout]['name'];
$data[0] .= io_safe_output($user_layouts[$id_layout]['name']);
$data[0] .= '</a>';
// Status 0 is OK.