1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-01-03 05:25:10 +00:00

Fix indexer add due to null categories in Newznab presets

This commit is contained in:
Qstick 2020-08-06 12:08:37 -04:00
parent c7be207543
commit bd7c302dd4

View file

@ -82,7 +82,7 @@ private NewznabSettings GetSettings(string url, string apiPath = null, int[] cat
{
var settings = new NewznabSettings { BaseUrl = url };
if (categories.Any())
if (categories != null)
{
settings.Categories = categories;
}