Fixed: Error adding indexers

pull/356/head
ta264 4 years ago
parent 4e861e0ae5
commit 20b997473a

@ -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