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
commit 8411c13d51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {