mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-11 02:16:53 +00:00
Fixed: Handle null on album refresh
This commit is contained in:
@@ -129,8 +129,7 @@ namespace NzbDrone.Core.Music
|
||||
|
||||
if (albumToUpdate != null)
|
||||
{
|
||||
|
||||
tuple = _albumInfo.GetAlbumInfo(album.ForeignAlbumId, albumToUpdate.CurrentRelease.Id);
|
||||
tuple = _albumInfo.GetAlbumInfo(album.ForeignAlbumId, albumToUpdate.CurrentRelease?.Id);
|
||||
albumInfo = tuple.Item1;
|
||||
existingAlbums.Remove(albumToUpdate);
|
||||
updateList.Add(albumToUpdate);
|
||||
|
||||
Reference in New Issue
Block a user