From 204f7f68792e629acc78b6a9a2a53b63b35d8cac Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 10 Oct 2013 12:55:19 -0400 Subject: [PATCH] fix null reference in IsPathOffline --- MediaBrowser.Controller/Entities/Folder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs index 43b251d8f..d18fa82bc 100644 --- a/MediaBrowser.Controller/Entities/Folder.cs +++ b/MediaBrowser.Controller/Entities/Folder.cs @@ -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;