1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 14:00:31 +02:00

[feature/soft-delete] Fix restoring posts via MCP

PHPBB3-9567
This commit is contained in:
Joas Schilling
2012-10-13 19:00:08 +02:00
parent 18f77020e5
commit 4bf922fa03
2 changed files with 48 additions and 14 deletions

View File

@@ -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;