Fixed: (RuTracker.Org) Fails to add

Closes #560
This commit is contained in:
bakerboy448
2021-11-07 14:05:11 -06:00
committed by Qstick
parent 6a6697c2c2
commit d585ab5677

View File

@@ -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)));
}