From 867e00c50d3031c53fe9bf70f2ebc1b5ed642374 Mon Sep 17 00:00:00 2001 From: daniel Date: Wed, 6 Jun 2018 18:00:44 +0200 Subject: [PATCH] fixed minor error --- pandora_console/include/functions_api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/functions_api.php b/pandora_console/include/functions_api.php index 141cc2d499..13716a6051 100644 --- a/pandora_console/include/functions_api.php +++ b/pandora_console/include/functions_api.php @@ -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]) && !$other['data'][2]) + (!empty($other) && isset($other['data'][2]) && $other['data'][2]) ? $other['data'][2] :