ParseUrl: Remove image when it doesn't fit the requirements
This commit is contained in:
parent
4a19348900
commit
bb0f3552e2
1 changed files with 4 additions and 0 deletions
|
@ -524,7 +524,11 @@ class ParseUrl
|
|||
$image['contenttype'] = $photodata['mime'];
|
||||
unset($image['url']);
|
||||
ksort($image);
|
||||
} else {
|
||||
$image = [];
|
||||
}
|
||||
} else {
|
||||
$image = [];
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue