mirror of
https://github.com/Sonarr/Sonarr
synced 2026-05-08 04:50:56 +02:00
Fix getting series by alias title and year
This commit is contained in:
parent
9454f2940e
commit
6131f1debd
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ private Series GetSeriesAliasTitleAndYear(ParsedEpisodeInfo parsedEpisodeInfo)
|
|||
{
|
||||
var series = _seriesService.FindByTvdbId(tvdbId.Value);
|
||||
|
||||
if (series.Year == year)
|
||||
if (series != null && series.Year == year)
|
||||
{
|
||||
return series;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue