]> git.mxchange.org Git - friendica.git/commitdiff
Add ffi_keyword_denylist key check to match previous call in Protocol\Feed
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 14 Jul 2020 18:50:52 +0000 (14:50 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 14 Jul 2020 18:50:52 +0000 (14:50 -0400)
src/Protocol/Feed.php

index 6456132af7428d9b20627ef9fe3de8dbd0eab019..86b76d309bd38703a64c66e50a2001da06bc224c 100644 (file)
@@ -534,7 +534,7 @@ class Feed
                                // We always strip the title since it will be added in the page information
                                $item["title"] = "";
                                $item["body"] = $item["body"] . "\n" . PageInfo::getFooterFromUrl($item["plink"], false, $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_denylist"] ?? '');
-                               $taglist = $contact["fetch_further_information"] == 2 ? PageInfo::getTagsFromUrl($item["plink"], $preview, $contact["ffi_keyword_denylist"]) : [];
+                               $taglist = $contact["fetch_further_information"] == 2 ? PageInfo::getTagsFromUrl($item["plink"], $preview, $contact["ffi_keyword_denylist"] ?? '') : [];
                                $item["object-type"] = Activity\ObjectType::BOOKMARK;
                                unset($item["attach"]);
                        } else {