mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 15:48:03 +00:00
Enable nullable for LibraryManager (#11191)
This commit is contained in:
@@ -947,7 +947,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
if (saveImagePath)
|
||||
{
|
||||
var personEntity = libraryManager.GetPerson(person.Name);
|
||||
var image = personEntity.GetImageInfo(ImageType.Primary, 0);
|
||||
var image = personEntity?.GetImageInfo(ImageType.Primary, 0);
|
||||
|
||||
if (image is not null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user