From d3da3747ddea39565c2e44102e38c4f7f876bae9 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Wed, 12 Jun 2019 08:48:51 +0200 Subject: [PATCH] Fixed the visualization of the combined graph item from the new visual console --- .../rest-api/models/VisualConsole/Items/ModuleGraph.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pandora_console/include/rest-api/models/VisualConsole/Items/ModuleGraph.php b/pandora_console/include/rest-api/models/VisualConsole/Items/ModuleGraph.php index d89a01efff..a9c16d0866 100644 --- a/pandora_console/include/rest-api/models/VisualConsole/Items/ModuleGraph.php +++ b/pandora_console/include/rest-api/models/VisualConsole/Items/ModuleGraph.php @@ -207,11 +207,7 @@ final class ModuleGraph extends Item // Custom graph. if (empty($customGraphId) === false) { - $customGraph = \db_get_row_filter( - 'tgraph', - 'id_graph', - $customGraphId - ); + $customGraph = \db_get_row('tgraph', 'id_graph', $customGraphId); $params = [ 'period' => $period,