From 17a4379cb28c8cd85c4831ace0c1d9e674cbbd81 Mon Sep 17 00:00:00 2001 From: Qstick Date: Thu, 6 Aug 2020 12:08:37 -0400 Subject: [PATCH] Fix indexer add due to null categories in Newznab presets --- 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 b50ae660f..3ae6999b7 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; }