From 0461cb04f7465ef5c0ab648bc1e0f62bbdcff58b Mon Sep 17 00:00:00 2001 From: alejandro-campos Date: Thu, 8 Aug 2019 15:18:15 +0200 Subject: [PATCH] fix graphs not showing in metaconsole monitors view --- pandora_console/include/graphs/functions_flot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/graphs/functions_flot.php b/pandora_console/include/graphs/functions_flot.php index 8e32673b48..309ddf364b 100644 --- a/pandora_console/include/graphs/functions_flot.php +++ b/pandora_console/include/graphs/functions_flot.php @@ -24,7 +24,7 @@ function include_javascript_dependencies_flot_graph($return=false) $is_include_javascript = true; $metaconsole_hack = ''; - if (defined('METACONSOLE')) { + if (is_metaconsole()) { $metaconsole_hack = '../../'; }