Avoid empty needle warning
This commit is contained in:
parent
edda62ef9f
commit
6d19c780d9
|
@ -415,7 +415,7 @@ class Feed {
|
||||||
$item["body"] .= "\n".$item['tag'];
|
$item["body"] .= "\n".$item['tag'];
|
||||||
}
|
}
|
||||||
// Add the link to the original feed entry if not present in feed
|
// 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]";
|
$item["body"] .= "[hr][url]".$item['plink']."[/url]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue