From c2adf033f2dcfdfdeef1fd308229f3b858a21604 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Mon, 17 Feb 2014 20:58:33 +0100 Subject: [PATCH] use file icon as fallback instead of application icon, fix #7237 --- lib/private/helper.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/helper.php b/lib/private/helper.php index 58cb1b88d6..e5d1fa9b51 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',