From 2e62f48c955b1f2d34ce16ab2fcabadc80a5289a Mon Sep 17 00:00:00 2001 From: Jeongkyu Shin Date: Fri, 12 Feb 2016 11:52:40 +0900 Subject: [PATCH] refs #514 : remove - unused blanks from mime type strings --- framework/utils/Misc.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/utils/Misc.php b/framework/utils/Misc.php index c43c9420d..1e87019e3 100644 --- a/framework/utils/Misc.php +++ b/framework/utils/Misc.php @@ -134,13 +134,13 @@ static function getMIMEType($ext, $filename = null) { return 'application/vnd.oasis.opendocument.presentation'; case 'sxw': case 'stw': - return ' application/vnd.sun.xml.writer'; + return 'application/vnd.sun.xml.writer'; case 'sxc': case 'stc': - return ' application/vnd.sun.xml.calc'; + return 'application/vnd.sun.xml.calc'; case 'sxi': case 'sti': - return ' application/vnd.sun.xml.impress'; + return 'application/vnd.sun.xml.impress'; case 'doc': return 'application/vnd.ms-word'; case 'xls':