Fix undefined property

This commit is contained in:
Jay Trees 2022-03-10 15:47:28 +01:00
parent dd54f64b68
commit 5e3eee3ed0

View file

@ -81,7 +81,7 @@ class EmbedCache
$info_simplified->favicon = (string) $info->favicon;
$info_simplified->feeds = (array) $info->feeds;
$info_simplified->icon = (string) $info->icon;
$info_simplified->image = $info->image ? (string) $info->image : $this->noImage;
$info_simplified->image = $info->image ? (string) $info->image : null;
$info_simplified->keywords = (array) $info->keywords;
$info_simplified->language = (string) $info->language;
$info_simplified->languages = (array) $info->languages;