Fixed issue with Daily Series searching

pull/4/head
Mark McDowall 12 years ago
parent d6224bdfff
commit 7d82c249f9

@ -5,6 +5,7 @@ using NzbDrone.Core.Model.Notification;
using NzbDrone.Core.Providers; using NzbDrone.Core.Providers;
using NzbDrone.Core.Providers.DecisionEngine; using NzbDrone.Core.Providers.DecisionEngine;
using NzbDrone.Core.Providers.Search; using NzbDrone.Core.Providers.Search;
using NzbDrone.Core.Repository;
namespace NzbDrone.Core.Jobs namespace NzbDrone.Core.Jobs
{ {
@ -47,7 +48,7 @@ namespace NzbDrone.Core.Jobs
if (options == null || options.EpisodeId <= 0) if (options == null || options.EpisodeId <= 0)
throw new ArgumentException("options"); throw new ArgumentException("options");
var episode = _episodeProvider.GetEpisode(options.EpisodeId); Episode episode = _episodeProvider.GetEpisode(options.EpisodeId);
if (episode == null) if (episode == null)
{ {

Loading…
Cancel
Save