RSS

(root)/bugzilla/3.6 : 6113 : show_bug.cgi

To get this branch, use:
bzr branch /bugzilla/3.6

« back to all changes in this revision

Viewing changes to show_bug.cgi

mkanat%bugzilla.org
2008-06-29 19:57:54
Revision ID: cvs-1:mkanatbugzilla.org-20080630025754-h0rylmikmb6z28g1
Bug 440612 â€“ Use Bugzilla::Bug->check everywhere instead of ValidateBugID
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=LpSolit

Show diffs side-by-side

added added

removed removed

57
57
 
58
58
if ($single) {
59
59
    my $id = $cgi->param('id');
60
 
    # Its a bit silly to do the validation twice - that functionality should
61
 
    # probably move into Bug.pm at some point
62
 
    ValidateBugID($id);
63
 
    push @bugs, new Bugzilla::Bug($id);
 
60
    push @bugs, Bugzilla::Bug->check($id);
64
61
    if (defined $cgi->param('mark')) {
65
62
        foreach my $range (split ',', $cgi->param('mark')) {
66
63
            if ($range =~ /^(\d+)-(\d+)$/) {

Loggerhead 1.18.1 is a web-based interface for Bazaar branches