SAAS-1214 - add link to preferences from publish dialog when source is disconnected; fix missing check in station rss generation
This commit is contained in:
parent
c12848b2de
commit
57d9245fbf
2 changed files with 5 additions and 3 deletions
|
@ -387,8 +387,10 @@ class Application_Service_PodcastService
|
|||
// Need to split categories into separate tags
|
||||
$itunesCategories = explode(",", $podcast->getDbItunesCategory());
|
||||
foreach ($itunesCategories as $c) {
|
||||
$category = $channel->addChild("xmlns:itunes:category");
|
||||
$category->addAttribute("text", $c);
|
||||
if (!empty($c)) {
|
||||
$category = $channel->addChild("xmlns:itunes:category");
|
||||
$category->addAttribute("text", $c);
|
||||
}
|
||||
}
|
||||
|
||||
$episodes = PodcastEpisodesQuery::create()->filterByDbPodcastId($stationPodcastId)->find();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue