Commit 9f35bd3e authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 443852: "Reset QA Contact to default" fails with strict_isolation turned on…

Bug 443852: "Reset QA Contact to default" fails with strict_isolation turned on if there is no default QA contact - Patch by Fré©ric Buclin <LpSolit@gmail.com> r/a=mkanat
parent 1929d7a0
......@@ -1338,8 +1338,9 @@ sub _check_qa_contact {
$id = $qa_contact->id;
# create() checks this another way, so we don't have to run this
# check during create().
# If there is no QA contact, this check is not required.
$invocant->_check_strict_isolation_for_user($qa_contact)
if ref $invocant;
if (ref $invocant && $id);
}
# "0" always means "undef", for QA Contact.
......
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