]> git.mxchange.org Git - jjobs-ejb.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 19:51:54 +0000 (21:51 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 19:51:54 +0000 (21:51 +0200)
- no gender, there is "personal title" for Mr./Mrs.

Signed-off-by: Roland Häder <roland@mxchange.org>
src/java/org/mxchange/jusercore/model/user/JobsUserSessionBean.java

index 2ba626bcab260246ee92e047ab040169ed8e6cd5..66b4c50e5d72abe03760c0139ce85cdf1283ecac 100644 (file)
@@ -627,7 +627,7 @@ public class JobsUserSessionBean extends BaseJobsDatabaseBean implements UserSes
                } else if (user.getUserContact().getContactId() < 1) {
                        // Invalid id
                        throw new IllegalArgumentException(MessageFormat.format("user.userContact.contactId={0} is invalid", user.getUserContact().getContactId())); //NOI18N
-               } else if (user.getUserContact().getContactGender() == null) {
+               } else if (user.getUserContact().getContactPersonalTitle() == null) {
                        // Throw NPE again
                        throw new NullPointerException("user.userContact.contactGender is null"); //NOI18N
                } else if (!this.ifUserExists(user)) {