Merge pull request #8887 from annando/prevent-null

Prevent "null" value when calling "getTagsFromUrl"
This commit is contained in:
Hypolite Petovan
2020-07-16 09:15:46 -04:00
committed by GitHub
+1 -1
View File
@@ -544,7 +544,7 @@ class Feed
if (!empty($contact["fetch_further_information"]) && ($contact["fetch_further_information"] == 3)) {
if (empty($taglist)) {
$taglist = PageInfo::getTagsFromUrl($item["plink"], $preview, $contact["ffi_keyword_denylist"]);
$taglist = PageInfo::getTagsFromUrl($item["plink"], $preview, $contact["ffi_keyword_denylist"] ?? '');
}
$item["body"] .= "\n" . self::tagToString($taglist);
} else {