diff options
Diffstat (limited to 'Bugzilla/Bug.pm')
-rw-r--r-- | Bugzilla/Bug.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index b4636f9bd..bade02f68 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. |