From c1ca86053ed276aa05eac8468cea61785629ac5e Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 30 Jun 2008 02:57:54 +0000 Subject: Bug 440612 – Use Bugzilla::Bug->check everywhere instead of ValidateBugID Patch By Max Kanat-Alexander r=LpSolit, a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- summarize_time.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'summarize_time.cgi') 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"; -- cgit v1.2.3-24-g4f1b