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