1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-13 20:28:44 +01:00

Fix topic count query

git-svn-id: file:///svn/phpbb/trunk@4392 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-08-12 20:53:13 +00:00
parent eeab805012
commit 3a90899e3d

View File

@ -219,7 +219,7 @@ if ($forum_data['forum_type'] == FORUM_POST)
WHERE forum_id = $forum_id
AND topic_type <> " . POST_ANNOUNCE . "
AND topic_last_post_time >= $min_post_time
" . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND t.topic_approved = 1');
" . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND topic_approved = 1');
$result = $db->sql_query($sql);
if (isset($_POST['sort']))