diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-17 20:58:33 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-02-17 20:58:33 +0100 |
commit | c2adf033f2dcfdfdeef1fd308229f3b858a21604 (patch) | |
tree | 6f429917982fce81b30e06c04af8035847180394 | |
parent | 84cd6e035e5e01c5a3182bd73677371d08810b20 (diff) | |
download | nextcloud-server-c2adf033f2dcfdfdeef1fd308229f3b858a21604.tar.gz nextcloud-server-c2adf033f2dcfdfdeef1fd308229f3b858a21604.zip |
use file icon as fallback instead of application icon, fix #7237
-rw-r--r-- | lib/private/helper.php | 1 |
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', |