mirror of
https://github.com/friendica/friendica
synced 2024-11-10 11:42:54 +00:00
Merge pull request #4358 from annando/empty-needle
Avoid empty needle warning
This commit is contained in:
commit
5cae43c8c7
1 changed files with 1 additions and 1 deletions
|
@ -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]";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue