From 054578fa2d7e5d14a3662dd402a747b2ab5535cf Mon Sep 17 00:00:00 2001 From: Qstick Date: Wed, 17 Jan 2018 23:48:59 -0500 Subject: [PATCH] Fixed: Handle null on album refresh --- src/NzbDrone.Core/Music/RefreshAlbumService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/NzbDrone.Core/Music/RefreshAlbumService.cs b/src/NzbDrone.Core/Music/RefreshAlbumService.cs index 5d60b6c72..bc6bdee03 100644 --- a/src/NzbDrone.Core/Music/RefreshAlbumService.cs +++ b/src/NzbDrone.Core/Music/RefreshAlbumService.cs @@ -129,8 +129,7 @@ public void RefreshAlbumInfo(Artist artist, IEnumerable remoteAlbums) 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);