mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-04 17:26:19 +00:00
Fix NullReferenceExceltop when role is null.
This commit is contained in:
@@ -520,7 +520,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
||||
{
|
||||
Name = person.Name,
|
||||
Type = person.Type,
|
||||
Role = person.Role.Trim()
|
||||
Role = person.Role = person.Role?.Trim()
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user