]> git.mxchange.org Git - pizzaservice-core.git/commitdiff
Please cherry-pick:
authorRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 17:41:02 +0000 (19:41 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 10 Jun 2017 19:16:58 +0000 (21:16 +0200)
- it is "personal title" for Mr./Mrs. now

Signed-off-by: Roland Häder <roland@mxchange.org>
src/org/mxchange/pizzaaplication/database/BasePizzaDatabaseBean.java

index d8722154af7ef35f93bc82424e6a1907265f1b44..387940414a77d588d6725129bf3c320e2abf1211 100644 (file)
@@ -485,9 +485,9 @@ public abstract class BasePizzaDatabaseBean extends BaseDatabaseBean {
                } 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
+                       throw new NullPointerException("user.userContact.contactPersonalTitle is null"); //NOI18N
                }
 
                // Prepare mail wrapper