mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +00:00
Some more notices removed
This commit is contained in:
parent
489d3daa94
commit
bc38420801
2 changed files with 5 additions and 1 deletions
|
@ -152,7 +152,7 @@ class OEmbed
|
|||
$oembed->description = $data['text'];
|
||||
}
|
||||
|
||||
if (is_array($data['images'])) {
|
||||
if (!empty($data['images'])) {
|
||||
$oembed->thumbnail_url = $data['images'][0]['src'];
|
||||
$oembed->thumbnail_width = $data['images'][0]['width'];
|
||||
$oembed->thumbnail_height = $data['images'][0]['height'];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue