mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Fixed: Season searching won't fail when search for season 0 (specials).
This commit is contained in:
parent
46ca4e28fd
commit
b7fea36045
2 changed files with 18 additions and 1 deletions
|
@ -42,7 +42,7 @@ namespace NzbDrone.Core.Jobs
|
|||
if (targetId <= 0)
|
||||
throw new ArgumentOutOfRangeException("targetId");
|
||||
|
||||
if (secondaryTargetId <= 0)
|
||||
if (secondaryTargetId < 0)
|
||||
throw new ArgumentOutOfRangeException("secondaryTargetId");
|
||||
|
||||
if (_searchProvider.SeasonSearch(notification, targetId, secondaryTargetId))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue