There can be also NULL people?

This commit is contained in:
JPVenson 2024-11-14 16:10:43 +00:00
parent 75d40e69b5
commit b830c42fca

View File

@ -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);
}