From 51bae35d2a18abacc8b29789fddcf5eb0303b9b2 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 19 Jun 2020 07:01:05 -0400 Subject: [PATCH] Account for contact.ffi_keyword_denylist field being NULL by default in Protocol\Feed --- src/Protocol/Feed.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]);