mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Backport pull request #15441 from jellyfin/release-10.11.z
Fix System.NullReferenceException when people's role is null (10.11.z)
Original-merge: 5a9a8363f4
Merged-by: Bond-009 <bond.009@outlook.com>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
de9e653b73
commit
26ac2ccd74
1 changed files with 1 additions and 1 deletions
|
|
@ -520,7 +520,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||
{
|
||||
Name = person.Name,
|
||||
Type = person.Type,
|
||||
Role = person.Role.Trim()
|
||||
Role = person.Role?.Trim()
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue