mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
Fixed: Handle null on album refresh
This commit is contained in:
parent
26ef43f302
commit
054578fa2d
1 changed files with 1 additions and 2 deletions
|
@ -129,8 +129,7 @@ namespace NzbDrone.Core.Music
|
||||||
|
|
||||||
if (albumToUpdate != null)
|
if (albumToUpdate != null)
|
||||||
{
|
{
|
||||||
|
tuple = _albumInfo.GetAlbumInfo(album.ForeignAlbumId, albumToUpdate.CurrentRelease?.Id);
|
||||||
tuple = _albumInfo.GetAlbumInfo(album.ForeignAlbumId, albumToUpdate.CurrentRelease.Id);
|
|
||||||
albumInfo = tuple.Item1;
|
albumInfo = tuple.Item1;
|
||||||
existingAlbums.Remove(albumToUpdate);
|
existingAlbums.Remove(albumToUpdate);
|
||||||
updateList.Add(albumToUpdate);
|
updateList.Add(albumToUpdate);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue