aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-08-13 05:39:57 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-08-13 05:39:57 +0000
commit11f05e3513f4133cce57d4177f9616c1ef32cd34 (patch)
tree8889bb5e8f5efa2c9abde07c3e8551fe8e6a20e7 /phpBB
parentea636f16eeafdd87027a2f95b79b50608b269282 (diff)
downloadforums-11f05e3513f4133cce57d4177f9616c1ef32cd34.tar
forums-11f05e3513f4133cce57d4177f9616c1ef32cd34.tar.gz
forums-11f05e3513f4133cce57d4177f9616c1ef32cd34.tar.bz2
forums-11f05e3513f4133cce57d4177f9616c1ef32cd34.tar.xz
forums-11f05e3513f4133cce57d4177f9616c1ef32cd34.zip
kill the debug code
git-svn-id: file:///svn/phpbb/trunk@8024 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/viewtopic.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index 1b0b6336af..165afcf9d5 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -121,7 +121,7 @@ if ($view && !$post_id)
WHERE forum_id = ' . $row['forum_id'] . "
AND topic_moved_id = 0
AND topic_last_post_time $sql_condition {$row['topic_last_post_time']}
- " . (($auth->acl_get('m_approve', $row['forum_id']) && false) ? '' : 'AND topic_approved = 1') . "
+ " . (($auth->acl_get('m_approve', $row['forum_id'])) ? '' : 'AND topic_approved = 1') . "
ORDER BY topic_last_post_time $sql_ordering";
$result = $db->sql_query_limit($sql, 1);
$row = $db->sql_fetchrow($result);