1
0
Fork 0
This commit is contained in:
Michael 2021-06-30 03:49:43 +00:00
parent d2b32a151e
commit 39fe60744b

View file

@ -102,7 +102,7 @@ class Photo extends BaseModule
$stamp = microtime(true);
$imgdata = MPhoto::getImageDataForPhoto($photo);
// The mimetype for an external resources can only be known after it had been fetched
// The mimetype for an external resource can only be known after it had been fetched
if ($photo['backend-class'] == ExternalResource::NAME) {
$mimetype = Images::getMimeTypeByData($imgdata);
if (!empty($mimetype)) {