diff options
Diffstat (limited to 'program/include/rcube_shared.inc')
-rw-r--r-- | program/include/rcube_shared.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_shared.inc b/program/include/rcube_shared.inc index 000483ef8..d82b1fef0 100644 --- a/program/include/rcube_shared.inc +++ b/program/include/rcube_shared.inc @@ -569,7 +569,7 @@ function rc_mime_content_type($path, $failover = 'unknown/unknown') finfo_close($finfo); } } - else if (function_exists('mime_content_type')) { + if (!$mime_type && function_exists('mime_content_type')) { $mime_type = mime_content_type($path); } |