Account for contact.ffi_keyword_denylist field being NULL by default in Protocol\Feed
This commit is contained in:
parent
87f2efff4b
commit
51bae35d2a
|
@ -528,7 +528,7 @@ class Feed
|
||||||
|
|
||||||
// We always strip the title since it will be added in the page information
|
// We always strip the title since it will be added in the page information
|
||||||
$item["title"] = "";
|
$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"]);
|
$taglist = get_page_keywords($item["plink"], $preview, ($contact["fetch_further_information"] == 2), $contact["ffi_keyword_denylist"]);
|
||||||
$item["object-type"] = Activity\ObjectType::BOOKMARK;
|
$item["object-type"] = Activity\ObjectType::BOOKMARK;
|
||||||
unset($item["attach"]);
|
unset($item["attach"]);
|
||||||
|
|
Loading…
Reference in a new issue