Ensure all searchable terms are non-null non-empty.

This commit is contained in:
Dean Herbert 2017-05-02 17:54:07 +09:00
parent 46ae8bc86b
commit a993790a66
1 changed files with 2 additions and 1 deletions

View File

@ -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 @@ public class BeatmapMetadata
TitleUnicode,
Source,
Tags
};
}.Where(s => !string.IsNullOrEmpty(s)).ToArray();
}
}