aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/mcp.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-10-13 19:00:08 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-10-13 19:00:08 +0200
commit4bf922fa03ae80533c726bd10aeab1f0bad0d179 (patch)
tree88dbc8df5b4e2b564d0dde1eff08993189ca769d /phpBB/mcp.php
parent18f77020e5c4a33e2b9bb1145342dab7ea55fd32 (diff)
downloadforums-4bf922fa03ae80533c726bd10aeab1f0bad0d179.tar
forums-4bf922fa03ae80533c726bd10aeab1f0bad0d179.tar.gz
forums-4bf922fa03ae80533c726bd10aeab1f0bad0d179.tar.bz2
forums-4bf922fa03ae80533c726bd10aeab1f0bad0d179.tar.xz
forums-4bf922fa03ae80533c726bd10aeab1f0bad0d179.zip
[feature/soft-delete] Fix restoring posts via MCP
PHPBB3-9567
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index eb61492518..a4801940a6 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -483,7 +483,7 @@ function get_post_data($post_ids, $acl_list = false, $read_tracking = false)
continue;
}
- if ($row['post_visibility'] == ITEM_UNAPPROVED && !$auth->acl_get('m_approve', $row['forum_id']))
+ if ($row['post_visibility'] != ITEM_APPROVED && !$auth->acl_get('m_approve', $row['forum_id']))
{
// Moderators without the permission to approve post should at least not see them. ;)
continue;