Prevent "null" value when calling "getTagsFromUrl"

pull/8887/head
Michael 2020-07-16 06:13:47 +00:00
rodzic 631095eefd
commit 4a550ddcd8
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -544,7 +544,7 @@ class Feed
if (!empty($contact["fetch_further_information"]) && ($contact["fetch_further_information"] == 3)) { if (!empty($contact["fetch_further_information"]) && ($contact["fetch_further_information"] == 3)) {
if (empty($taglist)) { 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); $item["body"] .= "\n" . self::tagToString($taglist);
} else { } else {