diff options
author | mkanat%bugzilla.org <> | 2008-06-30 04:57:54 +0200 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-06-30 04:57:54 +0200 |
commit | c1ca86053ed276aa05eac8468cea61785629ac5e (patch) | |
tree | 836d5cae869dc47008b16bccb1de47320a36fcc8 /summarize_time.cgi | |
parent | 9ed763d945ffe2a468871d4731f3bd001caab21c (diff) | |
download | bugzilla-c1ca86053ed276aa05eac8468cea61785629ac5e.tar.gz bugzilla-c1ca86053ed276aa05eac8468cea61785629ac5e.tar.xz |
Bug 440612 â Use Bugzilla::Bug->check everywhere instead of ValidateBugID
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit
Diffstat (limited to 'summarize_time.cgi')
-rwxr-xr-x | summarize_time.cgi | 2 |
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"; |