Remove spaces from 'accept' attribute

pull/7051/head
Aleksander Machniak 5 years ago
parent ba83042b1a
commit d2738d1e8b

@ -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