Minor identity bugfix (#10050)
This commit is contained in:
@@ -141,7 +141,7 @@ public class IdentitySystem : SharedIdentitySystem
|
|||||||
// Get their name and job from their ID for their presumed name.
|
// Get their name and job from their ID for their presumed name.
|
||||||
if (_idCard.TryFindIdCard(target, out var id))
|
if (_idCard.TryFindIdCard(target, out var id))
|
||||||
{
|
{
|
||||||
presumedName = id.FullName;
|
presumedName = string.IsNullOrWhiteSpace(id.FullName) ? null : id.FullName;
|
||||||
presumedJob = id.JobTitle?.ToLowerInvariant();
|
presumedJob = id.JobTitle?.ToLowerInvariant();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user