mirror of
https://github.com/phpbb/phpbb.git
synced 2025-04-14 04:42:04 +02:00
Merge pull request #5261 from senky/ticket/15670
[ticket/15670] Group forum permission: Can see forum gives NO SQL ERROR * github.com:/phpbb/phpbb: [ticket/15670] Fix SQL error when !f_list_topics and f_read
This commit is contained in:
commit
f5e3394550
@ -506,7 +506,7 @@ if ($forum_data['forum_type'] == FORUM_POST)
|
||||
|
||||
'WHERE' => '(t.forum_id = ' . $forum_id . '
|
||||
AND t.topic_type = ' . POST_ANNOUNCE . ') OR
|
||||
(' . $db->sql_in_set('t.forum_id', $g_forum_ary) . '
|
||||
(' . $db->sql_in_set('t.forum_id', $g_forum_ary, false, true) . '
|
||||
AND t.topic_type = ' . POST_GLOBAL . ')',
|
||||
|
||||
'ORDER_BY' => 't.topic_time DESC',
|
||||
|
Loading…
x
Reference in New Issue
Block a user