mirror of
https://github.com/Radarr/Radarr
synced 2025-12-15 04:45:37 +01:00
Fixed: Broken Newznab testing.
This commit is contained in:
parent
8dcde96f3f
commit
93ee849118
1 changed files with 2 additions and 1 deletions
|
|
@ -99,7 +99,8 @@ protected static List<int> CategoryIds(List<NewznabCategory> categories)
|
|||
|
||||
foreach (var category in categories)
|
||||
{
|
||||
l.AddRange(CategoryIds(category.Subcategories));
|
||||
if (category.Subcategories != null)
|
||||
l.AddRange(CategoryIds(category.Subcategories));
|
||||
}
|
||||
|
||||
return l;
|
||||
|
|
|
|||
Loading…
Reference in a new issue