Commit 8811152b authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 340309: process_bug.cgi fails when changing several bugs at once if all bugs…

Bug 340309: process_bug.cgi fails when changing several bugs at once if all bugs are in the same product - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=justdave
parent df309377
...@@ -963,7 +963,7 @@ if ($cgi->param('product') ne $cgi->param('dontchange')) { ...@@ -963,7 +963,7 @@ if ($cgi->param('product') ne $cgi->param('dontchange')) {
join(',', @idlist) . join(',', @idlist) .
")")}; ")")};
if (scalar(@newprod_ids) == 1) { if (scalar(@newprod_ids) == 1) {
$product = Bugzilla::Product::check_product($newprod_ids[0]); $product = new Bugzilla::Product($newprod_ids[0]);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment