Skip to content

Commit fe798dd

Browse files
authored
Merge pull request #27745 from svenbluege/staging
#27744 allow showing ucm_content items with core_access=0. Similar fi…
2 parents 20730e6 + 99ce3c3 commit fe798dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/mod_tags_popular/helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public static function getList(&$params)
8686

8787
// Only return tags connected to published and authorised items
8888
$query->where($db->quoteName('c.core_state') . ' = 1')
89-
->where($db->quoteName('c.core_access') . ' IN (' . $groups . ')')
89+
->where('(' . $db->quoteName('c.core_access') . ' IN (' . $groups . ') OR ' . $db->quoteName('c.core_access') . ' = 0)')
9090
->where('(' . $db->quoteName('c.core_publish_up') . ' = ' . $nullDate
9191
. ' OR ' . $db->quoteName('c.core_publish_up') . ' <= ' . $db->quote($nowDate) . ')')
9292
->where('(' . $db->quoteName('c.core_publish_down') . ' = ' . $nullDate

0 commit comments

Comments
 (0)