diff options
| author | JPVenson <github@jpb.email> | 2024-11-14 16:10:43 +0000 |
|---|---|---|
| committer | JPVenson <github@jpb.email> | 2024-11-14 16:10:43 +0000 |
| commit | b830c42fca41aff6247b12cbad5021b25ec58699 (patch) | |
| tree | c617f1e2fb57facfda0d52b2bd5c03ba4b56c4e8 /Emby.Server.Implementations/Library/LibraryManager.cs | |
| parent | 75d40e69b5a0c35273899d734a6f6c5dbee3e62a (diff) | |
There can be also NULL people?
Diffstat (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Library/LibraryManager.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 2d8741fba..6d33ecee9 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/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); } |
