From 5122a65c40442607d327481ff09a0d6436b4ae01 Mon Sep 17 00:00:00 2001 From: Bob den Otter Date: Wed, 5 Oct 2022 15:34:22 +0200 Subject: [PATCH] Update Seo.php --- src/Seo/Seo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Seo/Seo.php b/src/Seo/Seo.php index 8724b60..c6bc6b4 100644 --- a/src/Seo/Seo.php +++ b/src/Seo/Seo.php @@ -248,7 +248,7 @@ public function image(): string return $this->cleanUp($this->config['default']['image']); } - if (!empty($this->record->getExtras()['image'])) { + if ($this->record instanceof Content && !empty($this->record->getExtras()['image'])) { return $this->record->getExtras()['image']['url']; }