fix null reference in IsPathOffline
This commit is contained in:
parent
15046e5703
commit
204f7f6879
|
@ -725,7 +725,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
|
||||
foreach (var item in itemsRemoved)
|
||||
{
|
||||
if (IsPathOffline(item.Path))
|
||||
if (!string.IsNullOrEmpty(item.Path) && IsPathOffline(item.Path))
|
||||
{
|
||||
item.IsOffline = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user