Fix bug creating track references

This commit is contained in:
Duncan Sommerville 2015-11-26 18:54:49 -05:00
parent 0f5233b32e
commit 042a9b1558
2 changed files with 7 additions and 5 deletions

View file

@ -251,7 +251,7 @@ class Application_Service_PodcastEpisodeService extends Application_Service_Thir
public static function getStuckPendingImports() {
$timeout = gmdate(DEFAULT_TIMESTAMP_FORMAT, (microtime(true) - self::PENDING_EPISODE_TIMEOUT_SECONDS));
$episodes = PodcastEpisodesQuery::create()
->filterByDbFileId()
->filterByDbFileId(null, Criteria::ISNULL)
->find();
$stuckImports = array();
foreach ($episodes as $episode) {