diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2012-10-13 19:00:08 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2012-10-13 19:00:08 +0200 |
commit | 4bf922fa03ae80533c726bd10aeab1f0bad0d179 (patch) | |
tree | 88dbc8df5b4e2b564d0dde1eff08993189ca769d /phpBB/mcp.php | |
parent | [feature/soft-delete] Fix several problems in the forum mcp (diff) | |
download | phpbb-4bf922fa03ae80533c726bd10aeab1f0bad0d179.tar.gz phpbb-4bf922fa03ae80533c726bd10aeab1f0bad0d179.tar.bz2 phpbb-4bf922fa03ae80533c726bd10aeab1f0bad0d179.zip |
[feature/soft-delete] Fix restoring posts via MCP
PHPBB3-9567
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r-- | phpBB/mcp.php | 2 |
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; |