mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 05:47:14 -04:00
check actor name for null before calling add person
This commit is contained in:
parent
fac14cfd1e
commit
1b1bcabbb1
@ -982,6 +982,10 @@ namespace MediaBrowser.Controller.Providers
|
||||
{
|
||||
foreach (var person in GetPersonsFromXmlNode(subtree))
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(person.Name))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
item.AddPerson(person);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user