mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
group by is required to be correct, but this creates a temporary table. I do not think we will let "new posts" display non-approved posts...
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9487 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a15276a66a
commit
5ad7caebc8
1 changed files with 2 additions and 1 deletions
|
@ -378,8 +378,9 @@ if ($keywords || $author || $author_id || $search_id || $submit)
|
|||
WHERE p.post_time > ' . $user->data['user_lastvisit'] . '
|
||||
AND t.topic_id = p.topic_id
|
||||
AND t.topic_moved_id = 0
|
||||
' . $m_approve_fid_sql . '
|
||||
' . $m_approve_fid_sql . '
|
||||
' . ((sizeof($ex_fid_ary)) ? 'AND ' . $db->sql_in_set('t.forum_id', $ex_fid_ary, true) : '') . "
|
||||
GROUP BY t.topic_id
|
||||
$sql_sort";
|
||||
*/
|
||||
$field = 'topic_id';
|
||||
|
|
Loading…
Add table
Reference in a new issue