mirror of
https://github.com/phpbb/phpbb.git
synced 2025-02-13 03:54:57 +01:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7598 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
0a4b632bcb
commit
09ebdb6878
@ -140,7 +140,7 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
|
||||
|
||||
$sql = "SELECT t.*$read_tracking_select
|
||||
FROM " . TOPICS_TABLE . " t $read_tracking_join
|
||||
WHERE (t.forum_id = $forum_id OR t.forum_id = 0)
|
||||
WHERE t.forum_id IN($forum_id, 0)
|
||||
" . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND t.topic_approved = 1') . "
|
||||
$limit_time_sql
|
||||
ORDER BY t.topic_type DESC, $sort_order_sql";
|
||||
|
Loading…
x
Reference in New Issue
Block a user