phpBB

Code Changes

File: viewforum.php

  Unmodified   Added   Modified   Removed
Line 506Line 506

'WHERE' => '(t.forum_id = ' . $forum_id . '
AND t.topic_type = ' . POST_ANNOUNCE . ') OR


'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',

				AND t.topic_type = ' . POST_GLOBAL . ')',

'ORDER_BY' => 't.topic_time DESC',