Fixed: Handle null on album refresh

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

View file

@ -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);