From afa4787b41265e5057cb1b64dcc624335bc462b2 Mon Sep 17 00:00:00 2001 From: RocXa Date: Wed, 10 Aug 2016 16:55:23 +0100 Subject: [PATCH] CRM-19200 Merging just the title (prefix) field doesn't update the record properly --- CRM/Contact/BAO/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1