From 199113eda6c10e5b26e54e5d683a732af4081568 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Wed, 25 Oct 2023 12:56:22 +0200 Subject: [PATCH] #9814 fix bug projection time --- .../include/lib/Dashboard/Widgets/single_graph.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pandora_console/include/lib/Dashboard/Widgets/single_graph.php b/pandora_console/include/lib/Dashboard/Widgets/single_graph.php index 9f62fc221d..dd8cb160a7 100644 --- a/pandora_console/include/lib/Dashboard/Widgets/single_graph.php +++ b/pandora_console/include/lib/Dashboard/Widgets/single_graph.php @@ -300,6 +300,10 @@ class SingleGraphWidget extends Widget $values['period'] = SECONDS_1DAY; } + if (isset($values['period_projection']) === false) { + $values['period_projection'] = SECONDS_1DAY; + } + if (isset($values['showLegend']) === false) { $values['showLegend'] = 1; }