summaryrefslogtreecommitdiffstats
path: root/summarize_time.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-xsummarize_time.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/summarize_time.cgi b/summarize_time.cgi
index 071f89a67..0330f9dcf 100755
--- a/summarize_time.cgi
+++ b/summarize_time.cgi
@@ -251,7 +251,7 @@ $user->in_group(Bugzilla->params->{"timetrackinggroup"})
object => "timetracking_summaries"});
my @ids = split(",", $cgi->param('id'));
-map { ValidateBugID($_) } @ids;
+@ids = map { Bugzilla::Bug->check($_)->id } @ids;
scalar(@ids) || ThrowUserError('no_bugs_chosen', {action => 'view'});
my $group_by = $cgi->param('group_by') || "number";