forked from extern/egroupware
revert accidently ALWAYS looking up the mimeType with mime_magic
This commit is contained in:
parent
74a6cf6794
commit
f384ac50a7
@ -2152,7 +2152,7 @@ class mail_ui
|
||||
}
|
||||
//error_log(array2string($value));
|
||||
//error_log(strtoupper($value['mimeType']) .'<->'. mime_magic::filename2mime($attachmentHTML[$key]['filename']));
|
||||
if (strtoupper($value['mimeType']=='APPLICATION/OCTET-STREAM')); $value['mimeType'] = mime_magic::filename2mime($attachmentHTML[$key]['filename']);
|
||||
if (strtoupper($value['mimeType']=='APPLICATION/OCTET-STREAM')) $value['mimeType'] = mime_magic::filename2mime($attachmentHTML[$key]['filename']);
|
||||
$attachmentHTML[$key]['type']=$value['mimeType'];
|
||||
$attachmentHTML[$key]['mimetype']=mime_magic::mime2label($value['mimeType']);
|
||||
$attachmentHTML[$key]['size']=egw_vfs::hsize($value['size']);
|
||||
|
Loading…
Reference in New Issue
Block a user