Work on station podcast editor view

This commit is contained in:
Duncan Sommerville 2015-10-21 19:21:52 -04:00
parent 6580c12ad3
commit 814fc67e90
3 changed files with 11 additions and 3 deletions

View file

@ -309,7 +309,9 @@ class Application_Service_PodcastService
self::removePrivateFields($data["podcast"]);
self::validatePodcastMetadata($data["podcast"]);
self::_updateAutoIngestTimestamp($podcast, $data);
if (array_key_exists("auto_ingest", $data["podcast"])) {
self::_updateAutoIngestTimestamp($podcast, $data);
}
$podcast->fromArray($data["podcast"], BasePeer::TYPE_FIELDNAME);
$podcast->save();