diff --git a/pandora_console/operation/reporting/graph_viewer.php b/pandora_console/operation/reporting/graph_viewer.php index e28442dcc6..61a0b672cc 100644 --- a/pandora_console/operation/reporting/graph_viewer.php +++ b/pandora_console/operation/reporting/graph_viewer.php @@ -344,7 +344,7 @@ if ($view_graph) { $searchForm .= ""; $searchForm .= html_print_label_input_block( __('Time range'), - html_print_extended_select_for_time('period', $period, '', '', '0', 10, true, 'width:100%') + html_print_extended_select_for_time('period', (string) $period, '', '', 0, 10, true, 'width:100%') ); $searchForm .= ''; $searchForm .= ''; @@ -376,9 +376,9 @@ if ($view_graph) { false, '', false - ) + ), + ['div_id' => 'thresholdDiv'] ); - $searchForm .= ''; $searchForm .= ''; $searchForm .= "";