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

Avoid notices.

parent 1d01a4a1
No related branches found
No related tags found
No related merge requests found
...@@ -384,9 +384,12 @@ function _parser_common_syndication_RSS20_parse($feed_XML) { ...@@ -384,9 +384,12 @@ function _parser_common_syndication_RSS20_parse($feed_XML) {
if (!empty($news['author'])) { if (!empty($news['author'])) {
$original_author = "{$news['author']}"; $original_author = "{$news['author']}";
} }
else { elseif (isset($dc["creator"])) {
$original_author = (string)$dc["creator"]; $original_author = (string)$dc["creator"];
} }
else {
$original_author = NULL;
}
if (!empty($news['link'])) { if (!empty($news['link'])) {
$original_url = "{$news['link']}"; $original_url = "{$news['link']}";
......
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