Skip to content
Snippets Groups Projects
Commit 3527adbb authored by Georg Ehrke's avatar Georg Ehrke
Browse files

OC_Image::_output() - throw exception instead of falling back to png

parent 9dee3772
No related branches found
No related tags found
No related merge requests found
...@@ -217,7 +217,7 @@ class OC_Image { ...@@ -217,7 +217,7 @@ class OC_Image {
$imageType = IMAGETYPE_BMP; $imageType = IMAGETYPE_BMP;
break; break;
default: default:
$imageType = IMAGETYPE_PNG; throw new Exception('\OC_Image::_output(): "' . $mimeType . '" is not supported when forcing a specific output format');
break; break;
} }
} else { } else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment