mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: (Cardigann) Skip rows parsing on zero rows
This commit is contained in:
@@ -101,6 +101,11 @@ namespace NzbDrone.Core.Indexers.Cardigann
|
||||
throw new IndexerException(indexerResponse, "Error Parsing Rows Selector");
|
||||
}
|
||||
|
||||
if (rowsArray.Count == 0)
|
||||
{
|
||||
return releases;
|
||||
}
|
||||
|
||||
foreach (var row in rowsArray)
|
||||
{
|
||||
var selObj = search.Rows.Attribute != null ? row.SelectToken(search.Rows.Attribute).Value<JToken>() : row;
|
||||
|
Reference in New Issue
Block a user