mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-30 15:05:48 +02:00
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@7598 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@ -140,7 +140,7 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
|
|||||||
|
|
||||||
$sql = "SELECT t.*$read_tracking_select
|
$sql = "SELECT t.*$read_tracking_select
|
||||||
FROM " . TOPICS_TABLE . " t $read_tracking_join
|
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') . "
|
" . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND t.topic_approved = 1') . "
|
||||||
$limit_time_sql
|
$limit_time_sql
|
||||||
ORDER BY t.topic_type DESC, $sort_order_sql";
|
ORDER BY t.topic_type DESC, $sort_order_sql";
|
||||||
|
Reference in New Issue
Block a user