Commit 4182ab63 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 410182: Bugzilla crashes when moving a bug into another product when no QA…

Bug 410182: Bugzilla crashes when moving a bug into another product when no QA contact is defined and strict_isolation is enabled - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 44d7e6bd
......@@ -1234,8 +1234,12 @@ sub _check_strict_isolation {
$ccs = $added;
$assignee = $invocant->assigned_to
if $invocant->assigned_to->id != $original->assigned_to->id;
$qa_contact = $invocant->qa_contact
if $invocant->qa_contact->id != $original->qa_contact->id;
if ($invocant->qa_contact
&& (!$original->qa_contact
|| $invocant->qa_contact->id != $original->qa_contact->id))
{
$qa_contact = $invocant->qa_contact;
}
$product = $invocant->product;
}
......
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