mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
fixed 500
This commit is contained in:
parent
11c4319dd7
commit
3970c3b7c1
@ -3399,7 +3399,10 @@ function get_status_color_networkmap_fictional_point($id_networkmap, $parent='')
|
|||||||
|
|
||||||
if ($agent['source_data'] == -2) {
|
if ($agent['source_data'] == -2) {
|
||||||
if (empty($parent) === true) {
|
if (empty($parent) === true) {
|
||||||
$option = json_decode($agent, true);
|
if (is_array($agent) === false) {
|
||||||
|
$option = json_decode($agent, true);
|
||||||
|
}
|
||||||
|
|
||||||
if ($option['networkmap'] == 0) {
|
if ($option['networkmap'] == 0) {
|
||||||
$status = 0;
|
$status = 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user