diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index 229c5ab56f..ed503f0eae 100755 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -119,7 +119,9 @@ if ($schedule_report != '') { $time = date(TIME_FORMAT); $parameters[0] = get_parameter('id_schedule_report'); //$parameters[1] = db_get_value('schedule_email', 'treport', 'id_report', $id_report); - $parameters[1] = get_parameter('schedule_email'); + $parameters[1] = get_parameter('schedule_email_address'); + $parameters[2] = get_parameter('schedule_subject', ''); + $parameters[3] = get_parameter('schedule_email', ''); $parameters['first_execution'] = strtotime ($date.' '.$time); $values = array( diff --git a/pandora_console/include/functions_html.php b/pandora_console/include/functions_html.php index 16e222ca5c..d19dc7f513 100644 --- a/pandora_console/include/functions_html.php +++ b/pandora_console/include/functions_html.php @@ -1017,7 +1017,7 @@ function html_print_input_text_extended ($name, $value, $id, $alt, $size, $maxle ++$idcounter; $valid_attrs = array ("accept", "disabled", "maxlength", - "name", "readonly", "size", "value", "accesskey", + "name", "readonly", "placeholder", "size", "value", "accesskey", "class", "dir", "id", "lang", "style", "tabindex", "title", "xml:lang", "onfocus", "onblur", "onselect", "onchange", "onclick", "ondblclick", "onmousedown",