From 5e3eee3ed0016a5472e498a573c4d674d3fed41f Mon Sep 17 00:00:00 2001 From: Jay Trees Date: Thu, 10 Mar 2022 15:47:28 +0100 Subject: [PATCH] Fix undefined property --- src/classes/embed-cache.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/embed-cache.php b/src/classes/embed-cache.php index 1f4aa01b..3a7c0c74 100644 --- a/src/classes/embed-cache.php +++ b/src/classes/embed-cache.php @@ -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;