Browse Source

Fixed items can be null saving

JPVenson 7 months ago
parent
commit
f81d124019
1 changed files with 1 additions and 1 deletions
  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);
             }
         }