Because kayone says any

pull/4/head
Mark McDowall 11 years ago
parent bbd0fd41a3
commit 7efe4419fb

@ -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);

Loading…
Cancel
Save