diff --git a/tools/scheduler.pl b/tools/scheduler.pl index 3a7b03915d..37d5a06883 100755 --- a/tools/scheduler.pl +++ b/tools/scheduler.pl @@ -60,7 +60,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);