mirror of
https://github.com/Readarr/Readarr
synced 2026-05-06 03:30:27 +02:00
Fixed: Null reference error importing some books
This commit is contained in:
parent
d6e55e2913
commit
cb2bd0273f
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ private void IdentifyRelease(LocalEdition localBookRelease, IdentificationOverri
|
||||||
candidateReleases = _candidateService.GetRemoteCandidates(localBookRelease, idOverrides);
|
candidateReleases = _candidateService.GetRemoteCandidates(localBookRelease, idOverrides);
|
||||||
if (!config.AddNewAuthors)
|
if (!config.AddNewAuthors)
|
||||||
{
|
{
|
||||||
candidateReleases = candidateReleases.Where(x => x.Edition.Book.Value.Id > 0);
|
candidateReleases = candidateReleases.Where(x => x.Edition.Book.Value.Id > 0 && x.Edition.Book.Value.AuthorId > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
usedRemote = true;
|
usedRemote = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue