From: Michael Date: Thu, 16 Jul 2020 06:13:47 +0000 (+0000) Subject: Prevent "null" value when calling "getTagsFromUrl" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4a550ddcd81e705bdf5e2b7cc4a39e2ea586d26f;p=friendica.git Prevent "null" value when calling "getTagsFromUrl" --- diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index 86b76d309b..63bcb9fb9e 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -544,7 +544,7 @@ class Feed if (!empty($contact["fetch_further_information"]) && ($contact["fetch_further_information"] == 3)) { if (empty($taglist)) { - $taglist = PageInfo::getTagsFromUrl($item["plink"], $preview, $contact["ffi_keyword_denylist"]); + $taglist = PageInfo::getTagsFromUrl($item["plink"], $preview, $contact["ffi_keyword_denylist"] ?? ''); } $item["body"] .= "\n" . self::tagToString($taglist); } else {