From 9bb4838cdbbca746d7ac0984e381b17d8b186e34 Mon Sep 17 00:00:00 2001 From: Jesus Ortega Date: Sat, 17 Apr 2021 18:35:07 +0200 Subject: [PATCH] Make sure the fallback function have the thumbnail property Related to Generate screenshots for links #18 --- app/Helper/HtmlMeta.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Helper/HtmlMeta.php b/app/Helper/HtmlMeta.php index 46f47829..a3d039b6 100644 --- a/app/Helper/HtmlMeta.php +++ b/app/Helper/HtmlMeta.php @@ -96,6 +96,7 @@ class HtmlMeta 'success' => false, 'title' => parse_url($url, PHP_URL_HOST) ?? $url, 'description' => false, + 'thumbnail' => null, ]; } }