From: RocXa Date: Wed, 10 Aug 2016 15:55:23 +0000 (+0100) Subject: CRM-19200 Merging just the title (prefix) field doesn't update the record properly X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=afa4787b41265e5057cb1b64dcc624335bc462b2;p=civicrm-core.git CRM-19200 Merging just the title (prefix) field doesn't update the record properly --- diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 858ad46a4e..a67cfecffb 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -520,7 +520,7 @@ WHERE civicrm_contact.id = " . CRM_Utils_Type::escape($id, 'Integer'); * @param array $params */ public static function addBillingNameFieldsIfOtherwiseNotSet(&$params) { - $nameFields = array('first_name', 'middle_name', 'last_name'); + $nameFields = array('first_name', 'middle_name', 'last_name', 'nick_name', 'prefix_id', 'suffix_id'); foreach ($nameFields as $field) { if (!empty($params[$field])) { return;