From 96fd6459b2c01c535ae5d0090861f838d45c5c47 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 22 Oct 2013 12:08:54 -0400 Subject: [PATCH] fix possible null reference with search hints --- .../Library/LuceneSearchEngine.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MediaBrowser.Server.Implementations/Library/LuceneSearchEngine.cs b/MediaBrowser.Server.Implementations/Library/LuceneSearchEngine.cs index 5ef04ef9d..d5fccc6fd 100644 --- a/MediaBrowser.Server.Implementations/Library/LuceneSearchEngine.cs +++ b/MediaBrowser.Server.Implementations/Library/LuceneSearchEngine.cs @@ -87,6 +87,7 @@ namespace MediaBrowser.Server.Implementations.Library return list; }) + .Where(i => !string.IsNullOrEmpty(i)) .Distinct(StringComparer.OrdinalIgnoreCase) .ToList();