diff --git a/src/NzbDrone.Api/Config/IndexerConfigModule.cs b/src/NzbDrone.Api/Config/IndexerConfigModule.cs index 10df7f2ae..aa9c8d5bf 100644 --- a/src/NzbDrone.Api/Config/IndexerConfigModule.cs +++ b/src/NzbDrone.Api/Config/IndexerConfigModule.cs @@ -9,7 +9,9 @@ namespace NzbDrone.Api.Config public IndexerConfigModule(IConfigService configService) : base(configService) { - SharedValidator.RuleFor(c => c.RssSyncInterval).InclusiveBetween(10, 120); + SharedValidator.RuleFor(c => c.RssSyncInterval) + .InclusiveBetween(10, 120) + .When(c => c.RssSyncInterval > 0); } } } \ No newline at end of file diff --git a/src/UI/Settings/Indexers/Options/IndexerOptionsViewTemplate.html b/src/UI/Settings/Indexers/Options/IndexerOptionsViewTemplate.html index 3dd1338e1..074bd219c 100644 --- a/src/UI/Settings/Indexers/Options/IndexerOptionsViewTemplate.html +++ b/src/UI/Settings/Indexers/Options/IndexerOptionsViewTemplate.html @@ -13,10 +13,11 @@