Fix indexer add due to null categories in Newznab presets

pull/1689/head
Qstick 4 years ago
parent 75db57c138
commit 17a4379cb2

@ -82,7 +82,7 @@ namespace NzbDrone.Core.Indexers.Newznab
{ {
var settings = new NewznabSettings { BaseUrl = url }; var settings = new NewznabSettings { BaseUrl = url };
if (categories.Any()) if (categories != null)
{ {
settings.Categories = categories; settings.Categories = categories;
} }

Loading…
Cancel
Save