fixed provider refresh issue

This commit is contained in:
Luke Pulverenti 2013-12-09 22:34:01 -05:00
parent 503e01e6fa
commit d2217a661a

View File

@ -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<BaseProviderInfo>() :
_itemRepo.GetProviderHistory(item.Id).ToList();