aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-02-17 21:06:15 +0100
committericewind1991 <robin@icewind.nl>2014-02-17 21:06:15 +0100
commit617cbfed541fccf85cc60b4890858a69539345dc (patch)
tree833446df367a6df49f4cb32f753de64b18ed9882
parent5a80339b5196f971cd13cb08da8a8fe4f4d35374 (diff)
parentc2adf033f2dcfdfdeef1fd308229f3b858a21604 (diff)
downloadnextcloud-server-617cbfed541fccf85cc60b4890858a69539345dc.tar.gz
nextcloud-server-617cbfed541fccf85cc60b4890858a69539345dc.zip
Merge pull request #7240 from owncloud/mimetype-fallback
use file icon as fallback instead of application icon, fix #7237
-rw-r--r--lib/private/helper.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/helper.php b/lib/private/helper.php
index 58cb1b88d66..e5d1fa9b513 100644
--- a/lib/private/helper.php
+++ b/lib/private/helper.php
@@ -151,6 +151,7 @@ class OC_Helper {
*/
public static function mimetypeIcon($mimetype) {
$alias = array(
+ 'application/octet-stream' => 'file', // use file icon as fallback
'application/xml' => 'code/xml',
'application/msword' => 'x-office/document',
'application/vnd.openxmlformats-officedocument.wordprocessingml.document' => 'x-office/document',