Fixed: Allow Original Language in Custom Format

Closes #5897
This commit is contained in:
Mark McDowall 2023-08-09 08:21:41 -07:00
parent 5a7e34e291
commit 6103c023de
1 changed files with 0 additions and 1 deletions

View File

@ -10,7 +10,6 @@ namespace NzbDrone.Core.CustomFormats
{
public LanguageSpecificationValidator()
{
RuleFor(c => c.Value).GreaterThanOrEqualTo(0);
RuleFor(c => c.Value).Custom((value, context) =>
{
if (!Language.All.Any(o => o.Id == value))