Skip to content
Snippets Groups Projects
Commit d02ead58 authored by Alex Barth's avatar Alex Barth
Browse files

Roll back accidental commit.

parent 4b229da9
No related branches found
No related tags found
No related merge requests found
...@@ -360,7 +360,6 @@ function _parser_common_syndication_RSS20_parse($feed_XML) { ...@@ -360,7 +360,6 @@ function _parser_common_syndication_RSS20_parse($feed_XML) {
$title = "{$news['title']}"; $title = "{$news['title']}";
} }
$body = '';
if (isset($news['description'])) { if (isset($news['description'])) {
$body = "{$news['description']}"; $body = "{$news['description']}";
} }
...@@ -376,8 +375,8 @@ function _parser_common_syndication_RSS20_parse($feed_XML) { ...@@ -376,8 +375,8 @@ function _parser_common_syndication_RSS20_parse($feed_XML) {
$body = "{$content['encoded']}"; $body = "{$content['encoded']}";
} }
} }
if (empty($body)) { if (!isset($body)) {
$body = $title; $body = "{$news['title']}";
} }
if (!empty($news['author'])) { if (!empty($news['author'])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment