Because kayone says any

This commit is contained in:
Mark McDowall 2013-08-03 11:18:01 -07:00
parent bbd0fd41a3
commit 7efe4419fb
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ namespace NzbDrone.Core.MediaFiles
foreach (var episode in episodes)
{
if (episode.EpisodeFileId > 0 && seriesFile.SingleOrDefault(f => f.Id == episode.EpisodeFileId) == null)
if (episode.EpisodeFileId > 0 && !seriesFile.Any(f => f.Id == episode.EpisodeFileId))
{
episode.EpisodeFileId = 0;
_episodeService.UpdateEpisode(episode);