Fix call to get_author()

This was introduced by the zf1 mega commit 625f92fe44.

625f92fe44 (commitcomment-21156925)
This commit is contained in:
Lucas Bickel 2017-03-05 12:26:54 +01:00 committed by GitHub
parent 2e9fc432b1
commit d374ab2b3b
1 changed files with 2 additions and 3 deletions

View File

@ -91,8 +91,7 @@ class Application_Service_PodcastService
$podcastArray["language"] = htmlspecialchars($rss->get_language());
$podcastArray["copyright"] = htmlspecialchars($rss->get_copyright());
$rssAuthor = $rss->getAuthor();
$name = empty($rssAuthor) ? "" : $rss->rssAuthor->get_name();
$name = empty($rss->get_author()) ? "" : $rss->get_author()->get_name();
$podcastArray["creator"] = htmlspecialchars($name);
$categories = array();
@ -471,4 +470,4 @@ class Application_Service_PodcastService
return false;
}
}
}
}