From: Roland Häder Date: Tue, 26 Apr 2016 12:02:44 +0000 (+0200) Subject: it works only otherwise ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9659b6705723f0c9440a281a0907a7e70a9a9ac8;p=pizzaservice-ejb.git it works only otherwise ... --- diff --git a/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java b/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java index 8d5a76f..30543e5 100644 --- a/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java @@ -89,7 +89,7 @@ public class PizzaAdminCustomerSessionBean extends BasePizzaDatabaseBean impleme 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);