From 5e77c16aeafa41db9c74348bcb926bd0c9bff039 Mon Sep 17 00:00:00 2001 From: Tim Mallezie Date: Tue, 24 Mar 2015 21:41:28 +0100 Subject: [PATCH] convert nickname field --- CRM/Contact/Form/Edit/Individual.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CRM/Contact/Form/Edit/Individual.php b/CRM/Contact/Form/Edit/Individual.php index 1d48c79bab..36c4266409 100644 --- a/CRM/Contact/Form/Edit/Individual.php +++ b/CRM/Contact/Form/Edit/Individual.php @@ -97,9 +97,7 @@ class CRM_Contact_Form_Edit_Individual { if (!$inlineEditMode || $inlineEditMode == 2) { // nick_name - $form->addElement('text', 'nick_name', ts('Nickname'), - CRM_Core_DAO::getAttribute('CRM_Contact_DAO_Contact', 'nick_name') - ); + $form->addField('nick_name', $attributes['nick_name']); // job title // override the size for UI to look better -- 2.25.1