From a993790a66f619c0edafdbd9b34b5524e13bffa6 Mon Sep 17 00:00:00 2001
From: Dean Herbert <pe@ppy.sh>
Date: Tue, 2 May 2017 17:54:07 +0900
Subject: [PATCH] Ensure all searchable terms are non-null non-empty.

---
 osu.Game/Database/BeatmapMetadata.cs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/osu.Game/Database/BeatmapMetadata.cs b/osu.Game/Database/BeatmapMetadata.cs
index 098c524cc3..ebca0f1cad 100644
--- a/osu.Game/Database/BeatmapMetadata.cs
+++ b/osu.Game/Database/BeatmapMetadata.cs
@@ -1,6 +1,7 @@
 // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
 // Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
 
+using System.Linq;
 using SQLite.Net.Attributes;
 
 namespace osu.Game.Database
@@ -31,6 +32,6 @@ namespace osu.Game.Database
             TitleUnicode,
             Source,
             Tags
-        };
+        }.Where(s => !string.IsNullOrEmpty(s)).ToArray();
     }
 }
\ No newline at end of file