diff options
author | Jeff Fearn <jfearn@redhat.com> | 2021-03-10 16:15:38 +1000 |
---|---|---|
committer | Jeff Fearn <jfearn@redhat.com> | 2021-03-10 16:15:38 +1000 |
commit | bb256001351872a324aaf83b4655ec57afc0e84c (patch) | |
tree | aa8d97652ed07f28ec44664ad1cf80f4bb843208 | |
parent | Bug 1900485 - Comments marked as spam can not be expanded (diff) | |
download | bugzilla-bb256001351872a324aaf83b4655ec57afc0e84c.tar.gz bugzilla-bb256001351872a324aaf83b4655ec57afc0e84c.tar.bz2 bugzilla-bb256001351872a324aaf83b4655ec57afc0e84c.zip |
Bug 1934461 - Bugzilla doesn't allow GitHub links
Fix query to check always_private.
Change-Id: Ibb6a75df9be44110f99212395254424841f8b758
-rw-r--r-- | extensions/ExternalBugs/lib/Type.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ExternalBugs/lib/Type.pm b/extensions/ExternalBugs/lib/Type.pm index d48c62be1..37df88c61 100644 --- a/extensions/ExternalBugs/lib/Type.pm +++ b/extensions/ExternalBugs/lib/Type.pm @@ -164,7 +164,7 @@ id IN ( SELECT DISTINCT id FROM external_bugzilla b LEFT JOIN ext_bz_group_map m ON (m.ext_bz_id = b.id) - WHERE m.group_id IS NULL OR m.group_id IN ($group_list) + WHERE always_private = 0 OR m.group_id IS NULL OR m.group_id IN ($group_list) )"; } |