2
0
Эх сурвалжийг харах

There can be also NULL people?

JPVenson 6 сар өмнө
parent
commit
b830c42fca

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

@@ -2802,6 +2802,7 @@ namespace Emby.Server.Implementations.Library
 
             if (people is not null)
             {
+                people = people.Where(e => e is not null).ToArray();
                 _peopleRepository.UpdatePeople(item.Id, people);
                 await SavePeopleMetadataAsync(people, cancellationToken).ConfigureAwait(false);
             }