summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Fearn <jfearn@redhat.com>2021-03-10 16:15:38 +1000
committerJeff Fearn <jfearn@redhat.com>2021-03-10 16:15:38 +1000
commitbb256001351872a324aaf83b4655ec57afc0e84c (patch)
treeaa8d97652ed07f28ec44664ad1cf80f4bb843208
parentBug 1900485 - Comments marked as spam can not be expanded (diff)
downloadbugzilla-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.pm2
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)
)";
}