1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 09:37:12 +00:00

Fixed: Handle null on album refresh

This commit is contained in:
Qstick 2018-01-17 23:48:59 -05:00
parent 26ef43f302
commit 054578fa2d

View file

@ -129,8 +129,7 @@ public void RefreshAlbumInfo(Artist artist, IEnumerable<Album> 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);