This commit is contained in:
Michael 2021-06-30 03:49:43 +00:00
parent d2b32a151e
commit 39fe60744b
1 changed files with 1 additions and 1 deletions

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)) {