aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-04-20 19:46:15 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-04-20 19:46:15 +0000
commit2abf7dc744e030fc927e909e8238bf245e027f98 (patch)
treef842c2297307b3d9cdd55795a02d9e087a976a4d /phpBB/posting.php
parent6ca8bbac473c24bb483a5b649041fd9e0b3736fe (diff)
downloadforums-2abf7dc744e030fc927e909e8238bf245e027f98.tar
forums-2abf7dc744e030fc927e909e8238bf245e027f98.tar.gz
forums-2abf7dc744e030fc927e909e8238bf245e027f98.tar.bz2
forums-2abf7dc744e030fc927e909e8238bf245e027f98.tar.xz
forums-2abf7dc744e030fc927e909e8238bf245e027f98.zip
Review only approved posts
git-svn-id: file:///svn/phpbb/trunk@3900 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index fe824b7ddd..fed17c7e7b 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -602,6 +602,7 @@ if (($submit) || ($preview) || ($refresh))
WHERE p.topic_id = $topic_id
AND p.poster_id = u.user_id
AND p.post_id > " . $topic_cur_post_id . "
+ AND p.post_approved = 1
ORDER BY p.post_time DESC";
$result = $db->sql_query_limit($sql, $config['posts_per_page']);