$rows = $elements = $relTableElements = $migrationInfo = array();
+ $genders = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'gender_id');
+
foreach ($diffs['contact'] as $field) {
foreach (array('main', 'other') as $moniker) {
$contact = &$$moniker;
$value = CRM_Utils_Array::value('suffix_id', $contact);
$field = 'suffix_id';
}
+ elseif ($field == 'gender_id' && !empty($value)) {
+ $label = $genders[$value];
+ }
+ elseif ($field == 'current_employer_id' && !empty($value)) {
+ $label = "$value (" . CRM_Contact_BAO_Contact::displayName($value) . ")";
+ }
$rows["move_$field"][$moniker] = $label;
if ($moniker == 'other') {
//CRM-14334