fix possible null reference with search hints

This commit is contained in:
Luke Pulverenti 2013-10-22 12:08:54 -04:00
parent 9c56495867
commit 96fd6459b2

View File

@ -87,6 +87,7 @@ namespace MediaBrowser.Server.Implementations.Library
return list; return list;
}) })
.Where(i => !string.IsNullOrEmpty(i))
.Distinct(StringComparer.OrdinalIgnoreCase) .Distinct(StringComparer.OrdinalIgnoreCase)
.ToList(); .ToList();