Add the feed link to the body when not present in the feed
This commit is contained in:
parent
dc45bc3c84
commit
1068091bbe
|
@ -417,7 +417,8 @@ class Feed {
|
||||||
}
|
}
|
||||||
$item["body"] .= "\n".$item['tag'];
|
$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]";
|
$item["body"] .= "[hr][url]".$item['plink']."[/url]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue