fix null reference in IsPathOffline

pull/702/head
Luke Pulverenti 11 years ago
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…
Cancel
Save