浏览代码

Fixed items can be null saving

JPVenson 6 月之前
父节点
当前提交
f81d124019
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
             }
         }