diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-10-07 16:50:35 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-10-07 16:50:35 +0200 |
commit | e5b2dc922f1c2e94332ffcc5e9ea002ce5326837 (patch) | |
tree | 355c29f083ab1a0b60bd8af68e989209bc58e657 /phpBB/includes/mcp | |
parent | 3fd1fa5492b96715f3bfbd16fcbe416e07ebb6e7 (diff) | |
parent | 0d6c323611eeacf0170dede6bd7980be894f7020 (diff) | |
download | forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar.gz forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar.bz2 forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.tar.xz forums-e5b2dc922f1c2e94332ffcc5e9ea002ce5326837.zip |
Merge pull request #3615 from rxu/ticket/13846
[ticket/13846] Fix softdelete feature workflow in viewtopic
Diffstat (limited to 'phpBB/includes/mcp')
-rw-r--r-- | phpBB/includes/mcp/mcp_queue.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php index 5fde63ecb4..0ac6ea748e 100644 --- a/phpBB/includes/mcp/mcp_queue.php +++ b/phpBB/includes/mcp/mcp_queue.php @@ -283,6 +283,7 @@ class mcp_queue $template->assign_vars(array( 'S_MCP_QUEUE' => true, 'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&p=$post_id&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, |