aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-01-30 18:48:03 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-01-30 18:48:03 +0000
commit35ae4c420fed689ef16df8e3cad8c5164a6443df (patch)
treee93098e7e91460c0ceeb40875fb7d3ea944f744c /phpBB
parentf8124b2117bf3abce4671cd2aa529b65b2103193 (diff)
downloadforums-35ae4c420fed689ef16df8e3cad8c5164a6443df.tar
forums-35ae4c420fed689ef16df8e3cad8c5164a6443df.tar.gz
forums-35ae4c420fed689ef16df8e3cad8c5164a6443df.tar.bz2
forums-35ae4c420fed689ef16df8e3cad8c5164a6443df.tar.xz
forums-35ae4c420fed689ef16df8e3cad8c5164a6443df.zip
seems like i forgot something. :/
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8354 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 29dca090b7..33fab63235 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -939,7 +939,7 @@ function topic_review($topic_id, $forum_id, $mode = 'topic_review', $cur_post_id
WHERE p.topic_id = $topic_id
" . ((!$auth->acl_get('m_approve', $forum_id)) ? 'AND p.post_approved = 1' : '') . '
' . (($mode == 'post_review') ? " AND p.post_id > $cur_post_id" : '') . '
- ORDER BY p.post_time';
+ ORDER BY p.post_time ';
$sql .= ($mode == 'post_review') ? 'ASC' : 'DESC';
$result = $db->sql_query_limit($sql, $config['posts_per_page']);