diff --git a/force-app/main/default/classes/AccountQuickContactController.cls b/force-app/main/default/classes/AccountQuickContactController.cls index 69b0f81..563121f 100644 --- a/force-app/main/default/classes/AccountQuickContactController.cls +++ b/force-app/main/default/classes/AccountQuickContactController.cls @@ -26,7 +26,9 @@ public with sharing class AccountQuickContactController { public static void newQuickContactForAccount(String accountId, String firstName, String lastName, String phone, String email){ Contact c = new Contact(); c.FirstName = firstName; - c.LastName = lastName; + c.MiddleName = middleName; //h + c.LastName = lastName;//new changes + c.Phone = phone; c.Email = email; c.AccountId = accountId;