From 1068091bbe81324fa5e6e5387559d6b711934769 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 11 Jan 2018 22:57:31 +0000 Subject: [PATCH] Add the feed link to the body when not present in the feed --- src/Protocol/Feed.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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]"; } }