diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 30e7cbf451..22b15cd893 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -831,7 +831,7 @@ function posting_gen_attachment_entry($attachment_data, &$filename_data, $show_a 'FILESIZE' => $config['max_filesize'], 'FILE_COMMENT' => (isset($filename_data['filecomment'])) ? $filename_data['filecomment'] : '', 'MAX_ATTACHMENT_FILESIZE' => $config['max_filesize'] > 0 ? $user->lang('MAX_ATTACHMENT_FILESIZE', get_formatted_filesize($config['max_filesize'])) : '', - 'ALLOWED_ATTACHMENTS' => !empty($allowed_attachments) ? implode(', ', $allowed_attachments) : '', + 'ALLOWED_ATTACHMENTS' => !empty($allowed_attachments) ? implode(',', $allowed_attachments) : '', )); if (count($attachment_data)) diff --git a/phpBB/styles/prosilver/template/posting_attach_body.html b/phpBB/styles/prosilver/template/posting_attach_body.html index ceb93001c1..378fd118cc 100644 --- a/phpBB/styles/prosilver/template/posting_attach_body.html +++ b/phpBB/styles/prosilver/template/posting_attach_body.html @@ -3,13 +3,12 @@
{L_ADD_ATTACHMENT_EXPLAIN} {L_PLUPLOAD_DRAG_TEXTAREA}
{% if MAX_ATTACHMENT_FILESIZE is not empty %}{{ MAX_ATTACHMENT_FILESIZE }}
{% endif %} - {% if ALLOWED_ATTACHMENTS is not empty %}{{ lang('ALLOWED_ATTACHMENTS') ~ lang('COLON') }} {{ ALLOWED_ATTACHMENTS }}
{% endif %}