mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 01:43:15 +08:00
Ensure all searchable terms are non-null non-empty.
This commit is contained in:
parent
46ae8bc86b
commit
a993790a66
@ -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();
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user