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:
parent
95b25246f1
commit
9c14978bb2
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user