]> git.mxchange.org Git - friendica.git/commitdiff
Account for contact.ffi_keyword_denylist field being NULL by default in Protocol...
authorHypolite Petovan <hypolite@mrpetovan.com>
Fri, 19 Jun 2020 11:01:05 +0000 (07:01 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Fri, 19 Jun 2020 11:01:05 +0000 (07:01 -0400)
src/Protocol/Feed.php

index 2ca615581fcbb034f781e599bef0a867f681c1f7..c4cb62a7109e10ead727ab5ce8519090d7806c7f 100644 (file)
@@ -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"]);