ParseUrl: Remove image when it doesn't fit the requirements

This commit is contained in:
Michael 2021-03-28 06:47:58 +00:00
parent 4a19348900
commit bb0f3552e2

View file

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