diff --git a/pandora_console/godmode/reporting/reporting_builder.main.php b/pandora_console/godmode/reporting/reporting_builder.main.php index 7d8ff60430..e09b035274 100644 --- a/pandora_console/godmode/reporting/reporting_builder.main.php +++ b/pandora_console/godmode/reporting/reporting_builder.main.php @@ -92,9 +92,20 @@ if ($report_id_user == $config['id_user'] || } if ($enterpriseEnable) { + $non_interactive_check = false; + if (isset($non_interactive)) { + $non_interactive_check = $non_interactive; + } + $table->data['interactive_report'][0] = __('Non interactive report'); - $table->data['interactive_report'][1] =__('Yes').'   '.html_print_radio_button ('non_interactive', 1, '', $non_interactive, true) .'  '; - $table->data['interactive_report'][1] .= __('No').'   '.html_print_radio_button ('non_interactive', 0, '', $non_interactive, true); + $table->data['interactive_report'][1] =__('Yes') . + '   ' . + html_print_radio_button('non_interactive', 1, '', + $non_interactive_check, true) .'  '; + $table->data['interactive_report'][1] .= __('No') . + '   ' . + html_print_radio_button('non_interactive', 0, '', + $non_interactive_check, true); } $table->data['description'][0] = __('Description');