Fixed the PHP warning

This commit is contained in:
mdtrooper 2014-09-23 13:10:49 +02:00
parent 0c15d286ae
commit 91f3938744
1 changed files with 13 additions and 2 deletions

View File

@ -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');