Merge pull request #15441 from IceStormNG/fix-nullreference-role-null-10.11

Fix System.NullReferenceException when people's role is null (10.11.z)
This commit is contained in:
Bond-009 2025-11-08 18:25:03 +01:00 committed by GitHub
commit 5a9a8363f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ namespace MediaBrowser.Providers.MediaInfo
{
Name = person.Name,
Type = person.Type,
Role = person.Role.Trim()
Role = person.Role?.Trim()
});
}
}