]> git.mxchange.org Git - pizzaservice-ejb.git/commitdiff
it works only otherwise ...
authorRoland Häder <roland@mxchange.org>
Tue, 26 Apr 2016 12:02:44 +0000 (14:02 +0200)
committerRoland Haeder <roland@mxchange.org>
Wed, 27 Apr 2016 19:06:46 +0000 (21:06 +0200)
src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java

index 8d5a76f445c3eec1241534a4123ec0a1036e2b00..30543e5c3d59bea13075ecd322f574da29a1ee98 100644 (file)
@@ -89,7 +89,7 @@ public class PizzaAdminCustomerSessionBean extends BasePizzaDatabaseBean impleme
                if (updatedContact instanceof Contact) {
                        // Set all entries
                        contact.setContactId(updatedContact.getContactId());
                if (updatedContact instanceof Contact) {
                        // Set all entries
                        contact.setContactId(updatedContact.getContactId());
-                       this.setAllContactPhoneEntries(contact, updatedContact);
+                       this.setAllContactPhoneEntries(updatedContact, contact);
 
                        // Yes, then get updated version
                        updatedContact = this.contactBean.updateContactData(contact);
 
                        // Yes, then get updated version
                        updatedContact = this.contactBean.updateContactData(contact);