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

This commit is contained in:
lpsolit%gmail.com 2006-06-06 22:55:29 +00:00
parent 6da332dd07
commit fa5c376ee6

View File

@ -963,7 +963,7 @@ if ($cgi->param('product') ne $cgi->param('dontchange')) {
join(',', @idlist) .
")")};
if (scalar(@newprod_ids) == 1) {
$product = Bugzilla::Product::check_product($newprod_ids[0]);
$product = new Bugzilla::Product($newprod_ids[0]);
}
}