]> git.mxchange.org Git - pizzaservice-ejb.git/blobdiff - src/java/org/mxchange/pizzaapplication/model/customer/PizzaAdminCustomerSessionBean.java
copy id and other instances
[pizzaservice-ejb.git] / src / java / org / mxchange / pizzaapplication / model / customer / PizzaAdminCustomerSessionBean.java
index d6adede18a74d6fed2e2bda0bb369ffbe029d8f5..8d5a76f445c3eec1241534a4123ec0a1036e2b00 100644 (file)
@@ -87,6 +87,10 @@ public class PizzaAdminCustomerSessionBean extends BasePizzaDatabaseBean impleme
 
                // Is a customer found?
                if (updatedContact instanceof Contact) {
+                       // Set all entries
+                       contact.setContactId(updatedContact.getContactId());
+                       this.setAllContactPhoneEntries(contact, updatedContact);
+
                        // Yes, then get updated version
                        updatedContact = this.contactBean.updateContactData(contact);