Merge pull request #4213 from annando/feed-information

Add the feed link to the body when not present in the feed
This commit is contained in:
Hypolite Petovan
2018-01-11 19:29:40 -05:00
committed by GitHub

View File

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