Remove spaces from 'accept' attribute

pull/7051/head
Aleksander Machniak 5 years ago
parent bdce0ba3f2
commit 6f4c2cf231

@ -1704,11 +1704,11 @@ function rcmail_message_import_form($attrib = array())
$input_attr = array( $input_attr = array(
'multiple' => true, 'multiple' => true,
'name' => '_file[]', 'name' => '_file[]',
'accept' => '.eml, .mbox, .msg, message/rfc822, text/*', 'accept' => '.eml,.mbox,.msg,message/rfc822,text/*',
); );
if (class_exists('ZipArchive', false)) { if (class_exists('ZipArchive', false)) {
$input_attr['accept'] .= '.zip, application/zip, application/x-zip'; $input_attr['accept'] .= '.zip,application/zip,application/x-zip';
$description .= ' ' . $RCMAIL->gettext('mailimportzip'); $description .= ' ' . $RCMAIL->gettext('mailimportzip');
} }

Loading…
Cancel
Save