[ticket/9657] Add , to last element of an array

PHPBB3-9657
This commit is contained in:
Joas Schilling 2013-07-11 12:12:18 +02:00
parent 5b47d73147
commit ed151cd6aa

View file

@ -182,8 +182,8 @@ class mcp_queue
$template->assign_vars(array( $template->assign_vars(array(
'S_TOPIC_REVIEW' => true, 'S_TOPIC_REVIEW' => true,
'S_BBCODE_ALLOWED' => $post_info['enable_bbcode'], 'S_BBCODE_ALLOWED' => $post_info['enable_bbcode'],
'TOPIC_TITLE' => $post_info['topic_title']) 'TOPIC_TITLE' => $post_info['topic_title'],
); ));
} }
$extensions = $attachments = $topic_tracking_info = array(); $extensions = $attachments = $topic_tracking_info = array();
@ -246,8 +246,8 @@ class mcp_queue
foreach ($attachments as $attachment) foreach ($attachments as $attachment)
{ {
$template->assign_block_vars('attachment', array( $template->assign_block_vars('attachment', array(
'DISPLAY_ATTACHMENT' => $attachment) 'DISPLAY_ATTACHMENT' => $attachment,
); ));
} }
} }
} }
@ -922,8 +922,8 @@ class mcp_queue
'mode' => $mode, 'mode' => $mode,
'post_id_list' => $post_id_list, 'post_id_list' => $post_id_list,
'action' => 'disapprove', 'action' => 'disapprove',
'redirect' => $redirect) 'redirect' => $redirect,
); ));
$notify_poster = $request->is_set('notify_poster'); $notify_poster = $request->is_set('notify_poster');
$disapprove_reason = ''; $disapprove_reason = '';