fixed minor error api

This commit is contained in:
daniel 2018-06-06 17:53:52 +02:00
parent d7da009804
commit ea6f96e96b
1 changed files with 1 additions and 1 deletions

View File

@ -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]
: