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,