Fix call to get_author()
This was introduced by the zf1 mega commit625f92fe44
.625f92fe44 (commitcomment-21156925)
This commit is contained in:
parent
2e9fc432b1
commit
d374ab2b3b
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue