From d585ab56770445a86cfe81f5994031ad6b05ec49 Mon Sep 17 00:00:00 2001 From: bakerboy448 <55419169+bakerboy448@users.noreply.github.com> Date: Sun, 7 Nov 2021 14:05:11 -0600 Subject: [PATCH] Fixed: (RuTracker.Org) Fails to add Closes #560 --- src/NzbDrone.Core/Indexers/Definitions/RuTracker.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NzbDrone.Core/Indexers/Definitions/RuTracker.cs b/src/NzbDrone.Core/Indexers/Definitions/RuTracker.cs index d3fea79da..c45cd1b8d 100644 --- a/src/NzbDrone.Core/Indexers/Definitions/RuTracker.cs +++ b/src/NzbDrone.Core/Indexers/Definitions/RuTracker.cs @@ -1443,7 +1443,7 @@ namespace NzbDrone.Core.Indexers.Definitions queryCollection.Add("nm", searchString); } - if (categories.Length > 0) + if (categories != null && categories.Length > 0) { queryCollection.Add("f", string.Join(",", Capabilities.Categories.MapTorznabCapsToTrackers(categories))); }