Skip to content

Commit 914383a

Browse files
committed
Merge pull request phpbb#6714 from danieltj27/ticket/17390
[ticket/17390] Fix unset template variable for topic approval in mcp
2 parents 45a43e8 + 1c73b7a commit 914383a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

phpBB/includes/mcp/mcp_queue.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ public function main($id, $mode)
284284
$post_data = array(
285285
'S_MCP_QUEUE' => true,
286286
'U_APPROVE_ACTION' => append_sid("{$phpbb_root_path}mcp.$phpEx", "i=queue&p=$post_id"),
287+
'S_CAN_APPROVE' => $auth->acl_get('m_approve', $post_info['forum_id']),
287288
'S_CAN_DELETE_POST' => $auth->acl_get('m_delete', $post_info['forum_id']),
288289
'S_CAN_VIEWIP' => $auth->acl_get('m_info', $post_info['forum_id']),
289290
'S_POST_REPORTED' => $post_info['post_reported'],

0 commit comments

Comments
 (0)