From 20b997473a34ed79168825facefd810a58c45d38 Mon Sep 17 00:00:00 2001 From: ta264 Date: Wed, 5 Aug 2020 22:35:26 +0100 Subject: [PATCH] Fixed: Error adding indexers --- src/NzbDrone.Core/Indexers/Newznab/Newznab.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs index e38b40f3d..bbc9aa97d 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/Newznab.cs @@ -82,7 +82,7 @@ namespace NzbDrone.Core.Indexers.Newznab { var settings = new NewznabSettings { BaseUrl = url }; - if (categories.Any()) + if (categories != null) { settings.Categories = categories; }