summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-02-13 21:55:20 +0100
committerMorris Jobke <hey@morrisjobke.de>2016-02-14 09:30:27 +0100
commite60e0fe22cf68548a5704889bf7a980f7bf38bbf (patch)
treea2527bea1f8be9efa44fa6ebe31d17b2318f8640
parent7061416016de23634b4915239a70cec8e1dd4eb3 (diff)
downloadnextcloud-server-e60e0fe22cf68548a5704889bf7a980f7bf38bbf.tar.gz
nextcloud-server-e60e0fe22cf68548a5704889bf7a980f7bf38bbf.zip
Fix BMP support
* fixes #16461
-rw-r--r--lib/private/image.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/image.php b/lib/private/image.php
index dc01f989d79..0f74bd1c565 100644
--- a/lib/private/image.php
+++ b/lib/private/image.php
@@ -257,6 +257,7 @@ class OC_Image implements \OCP\IImage {
$imageType = IMAGETYPE_XBM;
break;
case 'image/bmp':
+ case 'image/x-ms-bmp':
$imageType = IMAGETYPE_BMP;
break;
default: