Fixed: (RuTracker.Org) Fails to add

Closes #560
pull/584/head
bakerboy448 3 years ago committed by Qstick
parent 6a6697c2c2
commit d585ab5677

@ -1443,7 +1443,7 @@ namespace NzbDrone.Core.Indexers.Definitions
queryCollection.Add("nm", searchString); queryCollection.Add("nm", searchString);
} }
if (categories.Length > 0) if (categories != null && categories.Length > 0)
{ {
queryCollection.Add("f", string.Join(",", Capabilities.Categories.MapTorznabCapsToTrackers(categories))); queryCollection.Add("f", string.Join(",", Capabilities.Categories.MapTorznabCapsToTrackers(categories)));
} }

Loading…
Cancel
Save