Merge pull request #4358 from annando/empty-needle

Avoid empty needle warning
2022.09-rc
Tobias Diekershoff 2018-01-29 07:23:32 +01:00 zatwierdzone przez GitHub
commit 5cae43c8c7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -415,7 +415,7 @@ class Feed {
$item["body"] .= "\n".$item['tag'];
}
// Add the link to the original feed entry if not present in feed
if (!strstr($item["body"], $item['plink']) && ($item['plink'] != '')) {
if (($item['plink'] != '') && !strstr($item["body"], $item['plink'])) {
$item["body"] .= "[hr][url]".$item['plink']."[/url]";
}
}