aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_forum.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-04-11 14:10:58 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-04-25 11:52:22 +0200
commit2ec9c08a2bce2cb83c68339d2d07039cabc44d68 (patch)
tree17e48c56e526046f0e1d34f157e3791e67be435a /phpBB/includes/mcp/mcp_forum.php
parentdac01e8ca534b4d145d99e49a6aee173b85925f5 (diff)
downloadforums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.gz
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.bz2
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.tar.xz
forums-2ec9c08a2bce2cb83c68339d2d07039cabc44d68.zip
[ticket/12052] Use different visibility when post was edited
... and needs to be reapproved. PHPBB3-12052
Diffstat (limited to 'phpBB/includes/mcp/mcp_forum.php')
-rw-r--r--phpBB/includes/mcp/mcp_forum.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/mcp/mcp_forum.php b/phpBB/includes/mcp/mcp_forum.php
index 7c1c61dae7..60b508990d 100644
--- a/phpBB/includes/mcp/mcp_forum.php
+++ b/phpBB/includes/mcp/mcp_forum.php
@@ -224,7 +224,7 @@ function mcp_forum_view($id, $mode, $action, $forum_info)
$topic_title = censor_text($row['topic_title']);
- $topic_unapproved = ($row['topic_visibility'] == ITEM_UNAPPROVED && $auth->acl_get('m_approve', $row['forum_id'])) ? true : false;
+ $topic_unapproved = (($row['topic_visibility'] == ITEM_UNAPPROVED || $row['topic_visibility'] == ITEM_REAPPROVE) && $auth->acl_get('m_approve', $row['forum_id'])) ? true : false;
$posts_unapproved = ($row['topic_visibility'] == ITEM_APPROVED && $row['topic_posts_unapproved'] && $auth->acl_get('m_approve', $row['forum_id'])) ? true : false;
$topic_deleted = $row['topic_visibility'] == ITEM_DELETED;
$u_mcp_queue = ($topic_unapproved || $posts_unapproved) ? $url . '&amp;i=queue&amp;mode=' . (($topic_unapproved) ? 'approve_details' : 'unapproved_posts') . '&amp;t=' . $row['topic_id'] : '';