diff --git a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/ContactExtensions.cs b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/ContactExtensions.cs index ff852b1e1..b27e66a48 100644 --- a/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/ContactExtensions.cs +++ b/TeachingRecordSystem/src/TeachingRecordSystem.Core/Dqt/Models/ContactExtensions.cs @@ -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); }