mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
fixed minor error api
This commit is contained in:
parent
d7da009804
commit
ea6f96e96b
@ -10067,7 +10067,7 @@ function api_get_module_graph($id_module, $thrash2, $other, $thrash4) {
|
||||
SECONDS_1HOUR; // 1 hour by default
|
||||
|
||||
$graph_threshold =
|
||||
(!empty($other) && isset($other['data'][2]))
|
||||
(!empty($other) && isset($other['data'][2]) && !$other['data'][2])
|
||||
?
|
||||
$other['data'][2]
|
||||
:
|
||||
|
Loading…
x
Reference in New Issue
Block a user