diff --git a/pandora_console/godmode/reporting/reporting_builder.php b/pandora_console/godmode/reporting/reporting_builder.php index a1eeb45766..fae9e6aa18 100755 --- a/pandora_console/godmode/reporting/reporting_builder.php +++ b/pandora_console/godmode/reporting/reporting_builder.php @@ -170,6 +170,7 @@ if ($schedule_report != '') { $parameters[4] = get_parameter('report_type', ''); $parameters['first_execution'] = strtotime($date.' '.$time); + $values = [ 'id_usuario' => $config['id_user'], 'id_user_task' => $id_user_task, @@ -180,9 +181,11 @@ if ($schedule_report != '') { $result = db_process_sql_insert('tuser_task_scheduled', $values); + $report_type = $parameters[4]; + ui_print_result_message( $result, - __('Your report has been planned, and the system will email you a PDF with the report as soon as its finished'), + __('Your report has been planned, and the system will email you a '.$report_type.' file with the report as soon as its finished'), __('An error has ocurred') ); echo '
';