diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-02 17:50:34 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-10-02 17:50:34 +0200 |
commit | ff89824135298aa072c56f5a811f453df7ac3fe4 (patch) | |
tree | 43fa2941d995a6175c4918324cd0e91c775bf84f /lib/private/files | |
parent | fee8486b7f50422958909abe9fa1305039ecbbab (diff) | |
parent | c80dd82fe4c197cb09344a2ce25f790cd597b792 (diff) | |
download | nextcloud-server-ff89824135298aa072c56f5a811f453df7ac3fe4.tar.gz nextcloud-server-ff89824135298aa072c56f5a811f453df7ac3fe4.zip |
Merge pull request #19272 from owncloud/mimetypes-enhanced
Introduce a few new mimetypes for code, fix recursive mimetype aliases
Diffstat (limited to 'lib/private/files')
-rw-r--r-- | lib/private/files/type/detection.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/type/detection.php b/lib/private/files/type/detection.php index 0c647ab44c6..dc8aff2f30c 100644 --- a/lib/private/files/type/detection.php +++ b/lib/private/files/type/detection.php @@ -269,7 +269,7 @@ class Detection implements IMimeTypeDetector { public function mimeTypeIcon($mimetype) { $this->loadAliases(); - if (isset($this->mimeTypeAlias[$mimetype])) { + while (isset($this->mimeTypeAlias[$mimetype])) { $mimetype = $this->mimeTypeAlias[$mimetype]; } if (isset($this->mimetypeIcons[$mimetype])) { |