Merge pull request #10096 from annando/parseurl-photos

ParseUrl: Remove image when it doesn't fit the requirements
This commit is contained in:
Hypolite Petovan 2021-03-28 03:37:56 -04:00 committed by GitHub
commit f1b60414b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -524,7 +524,11 @@ class ParseUrl
$image['contenttype'] = $photodata['mime'];
unset($image['url']);
ksort($image);
} else {
$image = [];
}
} else {
$image = [];
}
});