aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2004-11-07 12:38:04 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2004-11-07 12:38:04 +0000
commite9eda1bd3ee909fc8106ed7de156acb001f888c2 (patch)
tree53c74203c7f43edc9aecb810e647faff1e15fd37 /phpBB/viewtopic.php
parentcf465cda3f92bbd93b7cd5fe9c1a69e199c245c0 (diff)
downloadforums-e9eda1bd3ee909fc8106ed7de156acb001f888c2.tar
forums-e9eda1bd3ee909fc8106ed7de156acb001f888c2.tar.gz
forums-e9eda1bd3ee909fc8106ed7de156acb001f888c2.tar.bz2
forums-e9eda1bd3ee909fc8106ed7de156acb001f888c2.tar.xz
forums-e9eda1bd3ee909fc8106ed7de156acb001f888c2.zip
*** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5025 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 60683da22c..87d34c192e 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -310,7 +310,7 @@ if ($sort_days)
FROM ' . POSTS_TABLE . "
WHERE topic_id = $topic_id
AND post_time >= $min_post_time
- " . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND p.post_approved = 1');
+ " . (($auth->acl_get('m_approve', $forum_id)) ? '' : 'AND post_approved = 1');
$result = $db->sql_query($sql);
if (isset($_POST['sort']))