Fixed the issue where we could sometimes allow the request of a whole series when the user shouldn't be able to

This commit is contained in:
Jamie 2018-11-18 20:14:47 +00:00
parent 527bc00c09
commit 417e4085c5
4 changed files with 91 additions and 4 deletions

View file

@ -116,6 +116,7 @@ namespace Ombi.Core.Engine
}
// Remove the ID since this is a new child
// This was a TVDBID for the request rules to run
tvBuilder.ChildRequest.Id = 0;
if (!tvBuilder.ChildRequest.SeasonRequests.Any())
{