diff options
Diffstat (limited to 'show_bug.cgi')
-rwxr-xr-x | show_bug.cgi | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/show_bug.cgi b/show_bug.cgi index 782293af5..b3251b9d1 100755 --- a/show_bug.cgi +++ b/show_bug.cgi @@ -57,10 +57,7 @@ my %marks; if ($single) { my $id = $cgi->param('id'); - # Its a bit silly to do the validation twice - that functionality should - # probably move into Bug.pm at some point - ValidateBugID($id); - push @bugs, new Bugzilla::Bug($id); + push @bugs, Bugzilla::Bug->check($id); if (defined $cgi->param('mark')) { foreach my $range (split ',', $cgi->param('mark')) { if ($range =~ /^(\d+)-(\d+)$/) { |