Skip to content

Commit

Permalink
Workaround partial stated name attributes (#1405)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Jul 3, 2024
1 parent 1681a73 commit 0335897
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ public static string ResolveFullName(this Contact contact, bool includeMiddleNam
}

public static bool HasStatedNames(this Contact contact) =>
!string.IsNullOrEmpty(contact.dfeta_StatedFirstName) ||
!string.IsNullOrEmpty(contact.dfeta_StatedFirstName) &&
!string.IsNullOrEmpty(contact.dfeta_StatedLastName);
}

0 comments on commit 0335897

Please sign in to comment.