1
0
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:
Dean Herbert 2017-05-02 17:54:07 +09:00
parent 46ae8bc86b
commit a993790a66

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 @@ namespace osu.Game.Database
TitleUnicode,
Source,
Tags
};
}.Where(s => !string.IsNullOrEmpty(s)).ToArray();
}
}