mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -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…
x
Reference in New Issue
Block a user