aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-11-09 13:37:53 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-11-09 13:37:53 +0100
commit9c2a58eff4c2bd164ee3bdb2ec66729d4562963d (patch)
treede37766616cc7473b4590a77e1c660f433eab1ce /phpBB/includes/mcp/mcp_queue.php
parentdac798deffde15f3cb0383f5aa06a266aa9bc6cd (diff)
downloadforums-9c2a58eff4c2bd164ee3bdb2ec66729d4562963d.tar
forums-9c2a58eff4c2bd164ee3bdb2ec66729d4562963d.tar.gz
forums-9c2a58eff4c2bd164ee3bdb2ec66729d4562963d.tar.bz2
forums-9c2a58eff4c2bd164ee3bdb2ec66729d4562963d.tar.xz
forums-9c2a58eff4c2bd164ee3bdb2ec66729d4562963d.zip
[feature/soft-delete] Append _approved to *_posts and *_topics column names
PHPBB3-9567
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index b6a36f184a..ab2d5124af 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -932,7 +932,7 @@ class mcp_queue
// If the count of disapproved posts for the topic is equal
// to the number of unapproved posts in the topic, and there are no different
// posts, we disapprove the hole topic
- if ($topic_information[$topic_id]['topic_posts'] == 0 &&
+ if ($topic_information[$topic_id]['topic_posts_approved'] == 0 &&
$topic_information[$topic_id]['topic_posts_softdeleted'] == 0 &&
$topic_information[$topic_id]['topic_posts_unapproved'] == $topic_posts_unapproved[$topic_id])
{