RSS

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

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

« back to all changes in this revision

Viewing changes to buglist.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

562
562
            my $changes = 0;
563
563
            foreach my $bug_id (split(/[\s,]+/, $cgi->param('bug_ids'))) {
564
564
                next unless $bug_id;
565
 
                ValidateBugID($bug_id);
566
 
                $bug_ids{$bug_id} = $keep_bug;
 
565
                my $bug = Bugzilla::Bug->check($bug_id);
 
566
                $bug_ids{$bug->id} = $keep_bug;
567
567
                $changes = 1;
568
568
            }
569
569
            ThrowUserError('no_bug_ids',

Loggerhead 1.18.1 is a web-based interface for Bazaar branches