From 6103c023de0d5b28d96931663ef2185dbd4c5491 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 9 Aug 2023 08:21:41 -0700 Subject: [PATCH] Fixed: Allow Original Language in Custom Format Closes #5897 --- .../CustomFormats/Specifications/LanguageSpecification.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/NzbDrone.Core/CustomFormats/Specifications/LanguageSpecification.cs b/src/NzbDrone.Core/CustomFormats/Specifications/LanguageSpecification.cs index a7144d0b5..19114cc61 100644 --- a/src/NzbDrone.Core/CustomFormats/Specifications/LanguageSpecification.cs +++ b/src/NzbDrone.Core/CustomFormats/Specifications/LanguageSpecification.cs @@ -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))