diff --git a/tools/scheduler.pl b/tools/scheduler.pl index cbeefc11db..6222718e60 100755 --- a/tools/scheduler.pl +++ b/tools/scheduler.pl @@ -61,7 +61,7 @@ if ( $op eq 'cud-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);