Bläddra i källkod

Fixed items can be null saving

JPVenson 7 månader sedan
förälder
incheckning
f81d124019
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;
                 return;
             }
             }
 
 
-            _peopleRepository.UpdatePeople(item.Id, people);
             if (people is not null)
             if (people is not null)
             {
             {
+                _peopleRepository.UpdatePeople(item.Id, people);
                 await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
                 await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
             }
             }
         }
         }