diff --git a/airtime_mvc/application/services/PodcastService.php b/airtime_mvc/application/services/PodcastService.php index b6dc72f04..dd3dd5d78 100644 --- a/airtime_mvc/application/services/PodcastService.php +++ b/airtime_mvc/application/services/PodcastService.php @@ -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; } } -} \ No newline at end of file +}