From 7d82c249f942626248dd56a178c01be928396c19 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 16 Jan 2013 18:51:25 -0800 Subject: [PATCH] Fixed issue with Daily Series searching --- NzbDrone.Core/Jobs/EpisodeSearchJob.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NzbDrone.Core/Jobs/EpisodeSearchJob.cs b/NzbDrone.Core/Jobs/EpisodeSearchJob.cs index 5bb25d927..53da54a0b 100644 --- a/NzbDrone.Core/Jobs/EpisodeSearchJob.cs +++ b/NzbDrone.Core/Jobs/EpisodeSearchJob.cs @@ -5,6 +5,7 @@ using NzbDrone.Core.Providers; using NzbDrone.Core.Providers.DecisionEngine; using NzbDrone.Core.Providers.Search; +using NzbDrone.Core.Repository; namespace NzbDrone.Core.Jobs { @@ -47,7 +48,7 @@ public virtual void Start(ProgressNotification notification, dynamic options) if (options == null || options.EpisodeId <= 0) throw new ArgumentException("options"); - var episode = _episodeProvider.GetEpisode(options.EpisodeId); + Episode episode = _episodeProvider.GetEpisode(options.EpisodeId); if (episode == null) {