1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 12:02:35 +02:00

Fixed: Broken Newznab testing.

This commit is contained in:
Leonardo Galli 2018-05-11 19:29:19 +02:00
parent 8dcde96f3f
commit 93ee849118

View File

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