From: Michael Date: Thu, 11 Jan 2018 22:57:31 +0000 (+0000) Subject: Add the feed link to the body when not present in the feed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1068091bbe81324fa5e6e5387559d6b711934769;p=friendica.git Add the feed link to the body when not present in the feed --- diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index af57ced7d4..2dafaaf6e7 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -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]"; } }