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:
parent
c7be207543
commit
bd7c302dd4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue