Grammar
This commit is contained in:
parent
d2b32a151e
commit
39fe60744b
|
@ -102,7 +102,7 @@ class Photo extends BaseModule
|
||||||
$stamp = microtime(true);
|
$stamp = microtime(true);
|
||||||
$imgdata = MPhoto::getImageDataForPhoto($photo);
|
$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) {
|
if ($photo['backend-class'] == ExternalResource::NAME) {
|
||||||
$mimetype = Images::getMimeTypeByData($imgdata);
|
$mimetype = Images::getMimeTypeByData($imgdata);
|
||||||
if (!empty($mimetype)) {
|
if (!empty($mimetype)) {
|
||||||
|
|
Loading…
Reference in a new issue