mirror of https://github.com/Radarr/Radarr
Because kayone says any
This commit is contained in:
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…
Reference in New Issue