1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-26 17:37:36 +01:00

not null ... whoops

This commit is contained in:
Kyle Spearrin 2018-03-27 23:44:28 -04:00
parent 95b25246f1
commit 9c14978bb2

View File

@ -53,7 +53,7 @@ namespace Bit.Admin.Controllers
foreach(var result in results)
{
var name = result["name"].ToString();
if(string.IsNullOrWhiteSpace(name) && name.Length > 0 && char.IsNumber(name[0]))
if(!string.IsNullOrWhiteSpace(name) && name.Length > 0 && char.IsNumber(name[0]))
{
return new JsonResult(name);
}