fixed 500

This commit is contained in:
alejandro.campos@artica.es 2022-12-21 10:43:43 +01:00
parent 11c4319dd7
commit 3970c3b7c1
1 changed files with 4 additions and 1 deletions

View File

@ -3399,7 +3399,10 @@ function get_status_color_networkmap_fictional_point($id_networkmap, $parent='')
if ($agent['source_data'] == -2) {
if (empty($parent) === true) {
$option = json_decode($agent, true);
if (is_array($agent) === false) {
$option = json_decode($agent, true);
}
if ($option['networkmap'] == 0) {
$status = 0;
} else {