From 9f35bd3ea49acb8a372fb72a5829d68bf69bb857 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Thu, 24 Jul 2008 14:06:52 +0000 Subject: [PATCH] =?utf8?q?Bug=20443852:=20"Reset=20QA=20Contact=20to=20def?= =?utf8?q?ault"=20fails=20with=20strict=5Fisolation=20turned=20on=20if=20t?= =?utf8?q?here=20is=20no=20default=20QA=20contact=20-=20Patch=20by=20Fr?= =?utf8?q?=C3=83=C2=A9d=C3=83=C2=A9ric=20Buclin=20=20r/?= =?utf8?q?a=3Dmkanat?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Bugzilla/Bug.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index b4636f9bd3..bade02f687 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -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. -- 2.47.3