mirror of
https://github.com/friendica/friendica
synced 2024-11-19 12:23:40 +00:00
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
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