mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/9657] Add , to last element of an array
PHPBB3-9657
This commit is contained in:
parent
5b47d73147
commit
ed151cd6aa
1 changed files with 6 additions and 6 deletions
|
@ -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 = '';
|
||||||
|
|
Loading…
Add table
Reference in a new issue