Commit 347e14bc authored by Jonny Bradley's avatar Jonny Bradley

[bp/r66033][FIX] files: Wrong outlook email mimetype test in iconify

parent 8ec98247
......@@ -147,7 +147,7 @@ function smarty_modifier_iconify($string, $filetype = null, $fileId = null, $siz
$iconname = 'zip';
break;
case strpos($type, 'application/') === 0 &&
(strpos($type, 'mail') !== false || $type === 'CDFV2-corrupt'): // outlook mail
(strpos($type, 'mail') !== false || $type === 'application/CDFV2-corrupt'): // outlook mail
$iconname = 'envelope';
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment