Merge pull request #10096 from annando/parseurl-photos
ParseUrl: Remove image when it doesn't fit the requirements
This commit is contained in:
commit
f1b60414b3
|
@ -524,7 +524,11 @@ class ParseUrl
|
|||
$image['contenttype'] = $photodata['mime'];
|
||||
unset($image['url']);
|
||||
ksort($image);
|
||||
} else {
|
||||
$image = [];
|
||||
}
|
||||
} else {
|
||||
$image = [];
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user