From: Hypolite Petovan Date: Fri, 19 Jun 2020 11:01:05 +0000 (-0400) Subject: Account for contact.ffi_keyword_denylist field being NULL by default in Protocol... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=51bae35d2a18abacc8b29789fddcf5eb0303b9b2;p=friendica.git Account for contact.ffi_keyword_denylist field being NULL by default in Protocol\Feed --- diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index 2ca615581f..c4cb62a710 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -528,7 +528,7 @@ class Feed // We always strip the title since it will be added in the page information $item["title"] = ""; - $item["body"] = $item["body"] . add_page_info($item["plink"], false, $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_denylist"]); + $item["body"] = $item["body"] . add_page_info($item["plink"], false, $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_denylist"] ?? ''); $taglist = get_page_keywords($item["plink"], $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_denylist"]); $item["object-type"] = Activity\ObjectType::BOOKMARK; unset($item["attach"]);