From d2217a661a80669ff5a8d8d80985084ff7cf810c Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Mon, 9 Dec 2013 22:34:01 -0500 Subject: [PATCH] fixed provider refresh issue --- .../Providers/ProviderManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs b/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs index 511092759..153a8d3e8 100644 --- a/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs +++ b/MediaBrowser.Server.Implementations/Providers/ProviderManager.cs @@ -106,7 +106,7 @@ namespace MediaBrowser.Server.Implementations.Providers var enableInternetProviders = ConfigurationManager.Configuration.EnableInternetProviders; var excludeTypes = ConfigurationManager.Configuration.InternetProviderExcludeTypes; - var providerHistories = item.DateLastSaved == DateTime.MinValue ? + var providerHistories = item.DateLastSaved == default(DateTime) ? new List() : _itemRepo.GetProviderHistory(item.Id).ToList();