Fixed: Empty Sabnzbd category is now properly handled. But added UI validation to recommend adding a category.

This commit is contained in:
Taloth Saldono 2015-02-18 00:43:33 +01:00
parent a8e805fd5d
commit 6803e46782
20 changed files with 207 additions and 54 deletions

View file

@ -9,10 +9,10 @@ namespace NzbDrone.Api.Metadata
{
}
protected override void Validate(MetadataDefinition definition)
protected override void Validate(MetadataDefinition definition, bool includeWarnings)
{
if (!definition.Enable) return;
base.Validate(definition);
base.Validate(definition, includeWarnings);
}
}
}