aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-10-22 17:21:56 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-10-22 17:21:56 +0200
commit0a07635329b149ddf500f29f3363f2e9a94fb022 (patch)
treee21dc6743686a413745149a05252b43da8f4c2c5 /phpBB/mcp.php
parent90154db1dbe3cd24f5af82ad5f665d607aad97ed (diff)
downloadforums-0a07635329b149ddf500f29f3363f2e9a94fb022.tar
forums-0a07635329b149ddf500f29f3363f2e9a94fb022.tar.gz
forums-0a07635329b149ddf500f29f3363f2e9a94fb022.tar.bz2
forums-0a07635329b149ddf500f29f3363f2e9a94fb022.tar.xz
forums-0a07635329b149ddf500f29f3363f2e9a94fb022.zip
[feature/soft-delete] Fix convertor and one mcp issue
PHPBB3-9567
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index f13a6260fe..d322aacb2f 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -538,10 +538,7 @@ function get_forum_data($forum_id, $acl_list = 'f_list', $read_tracking = false)
continue;
}
- if ($auth->acl_get('m_approve', $row['forum_id']))
- {
- $row['forum_topics'] = $row['forum_topics_real'];
- }
+ $row['forum_topics'] = phpbb_content_visibility::get_count('forum_topics', $row, $row['forum_id']);
$rowset[$row['forum_id']] = $row;
}