mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-02-05 08:42:50 +03:00
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:
@@ -520,7 +520,7 @@ namespace MediaBrowser.Providers.MediaInfo
|
|||||||
{
|
{
|
||||||
Name = person.Name,
|
Name = person.Name,
|
||||||
Type = person.Type,
|
Type = person.Type,
|
||||||
Role = person.Role.Trim()
|
Role = person.Role?.Trim()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user