diff options
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-x | summarize_time.cgi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi index 193899f0d..dd1e9e08e 100755 --- a/summarize_time.cgi +++ b/summarize_time.cgi @@ -264,7 +264,7 @@ my $detailed = $cgi->param('detailed'); my $do_report = $cgi->param('do_report'); my $inactive = $cgi->param('inactive'); my $do_depends = $cgi->param('do_depends'); -my $ctype = scalar($cgi->param("ctype")); +my $ctype = $cgi->param('ctype'); my ($start_date, $end_date); if ($do_report) { @@ -280,8 +280,8 @@ if ($do_report) { @bugs = @{ $user->visible_bugs(\@bugs) }; } - $start_date = trim $cgi->param('start_date'); - $end_date = trim $cgi->param('end_date'); + $start_date = trim(scalar $cgi->param('start_date')); + $end_date = trim(scalar $cgi->param('end_date')); foreach my $date ($start_date, $end_date) { next unless $date; |