Explorar o código

Fixed items can be null saving

JPVenson hai 8 meses
pai
achega
f81d124019
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Emby.Server.Implementations/Library/LibraryManager.cs

+ 1 - 1
Emby.Server.Implementations/Library/LibraryManager.cs

@@ -2800,9 +2800,9 @@ namespace Emby.Server.Implementations.Library
                 return;
             }
 
-            _peopleRepository.UpdatePeople(item.Id, people);
             if (people is not null)
             {
+                _peopleRepository.UpdatePeople(item.Id, people);
                 await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
             }
         }