mirror of
https://github.com/Radarr/Radarr
synced 2025-12-15 21:03:27 +01:00
Fixed: Allow Original Language in Custom Format
(cherry picked from commit 6103c023de0d5b28d96931663ef2185dbd4c5491)
This commit is contained in:
parent
aa98b2bac9
commit
e0d70dc341
1 changed files with 0 additions and 1 deletions
|
|
@ -10,7 +10,6 @@ public class LanguageSpecificationValidator : AbstractValidator<LanguageSpecific
|
|||
{
|
||||
public LanguageSpecificationValidator()
|
||||
{
|
||||
RuleFor(c => c.Value).GreaterThanOrEqualTo(0);
|
||||
RuleFor(c => c.Value).Custom((value, context) =>
|
||||
{
|
||||
if (!Language.All.Any(o => o.Id == value))
|
||||
|
|
|
|||
Loading…
Reference in a new issue