aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-10-07 16:50:43 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-10-07 16:50:43 +0200
commitf3ea34b3110a2fea1a87c34c8683c1939dff7fef (patch)
treedf7b6d2f4fb7d863eec966f39d598784772ec87c /phpBB/includes/mcp
parent3c448f889fba3dd2552d9b76ce2c8dca48f6bd3e (diff)
parente5b2dc922f1c2e94332ffcc5e9ea002ce5326837 (diff)
downloadforums-f3ea34b3110a2fea1a87c34c8683c1939dff7fef.tar
forums-f3ea34b3110a2fea1a87c34c8683c1939dff7fef.tar.gz
forums-f3ea34b3110a2fea1a87c34c8683c1939dff7fef.tar.bz2
forums-f3ea34b3110a2fea1a87c34c8683c1939dff7fef.tar.xz
forums-f3ea34b3110a2fea1a87c34c8683c1939dff7fef.zip
Merge branch '3.1.x'
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index ac82c9f2ad..e43b2a0edd 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -284,6 +284,7 @@ class mcp_queue
$template->assign_vars(array(
'S_MCP_QUEUE' => true,
'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&amp;p=$post_id&amp;f=$forum_id"),
+ 'S_CAN_DELETE_POST' => $auth->acl_get('m_delete', $post_info['forum_id']),
'S_CAN_VIEWIP' => $auth->acl_get('m_info', $post_info['forum_id']),
'S_POST_REPORTED' => $post_info['post_reported'],
'S_POST_UNAPPROVED' => $post_info['post_visibility'] == ITEM_UNAPPROVED || $post_info['post_visibility'] == ITEM_REAPPROVE,