diff --git a/tools/scheduler.pl b/tools/scheduler.pl index fa4aa516e0..404b17d1bb 100755 --- a/tools/scheduler.pl +++ b/tools/scheduler.pl @@ -61,7 +61,7 @@ if ( $mode eq 'job_add' ) { my $starttime = $input->param('starttime'); $starttime =~ s/\://g; my $start = $startdate . $starttime; - my $report = $input->param('report'); + my $report = int( $input->param('report') ); if ($report) { my $saved_report; my $report_id = int($report);