]> git.mxchange.org Git - friendica.git/commitdiff
Prevent "null" value when calling "getTagsFromUrl"
authorMichael <heluecht@pirati.ca>
Thu, 16 Jul 2020 06:13:47 +0000 (06:13 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 16 Jul 2020 06:13:47 +0000 (06:13 +0000)
src/Protocol/Feed.php

index 86b76d309bd38703a64c66e50a2001da06bc224c..63bcb9fb9e93e8d7f75060ae7a096f5a7632873b 100644 (file)
@@ -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 {