From 79ecd16e89a489b17d73e9724d0d2de4c0153522 Mon Sep 17 00:00:00 2001 From: kurund Date: Tue, 6 Aug 2013 03:43:21 +0530 Subject: [PATCH] CRM-13107, fixed the option to show prefix and suffix fields only in Individual select ---------------------------------------- * CRM-13107: Individual Prefix, Suffix and Gender fields are broken in Profile Create, Edit and View http://issues.civicrm.org/jira/browse/CRM-13107 --- CRM/Contact/BAO/Contact.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index b2f1eefe00..2905cb1942 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -1189,6 +1189,8 @@ WHERE id={$id}; "; 'last_name', 'job_title', 'gender_id', + 'prefix_id', + 'suffix_id', 'birth_date', 'organization_name', 'legal_name', @@ -1204,6 +1206,8 @@ WHERE id={$id}; "; 'last_name', 'job_title', 'gender_id', + 'prefix_id', + 'suffix_id', 'birth_date', 'household_name', 'is_deceased', @@ -1440,6 +1444,8 @@ WHERE id={$id}; "; 'last_name', 'job_title', 'gender_id', + 'prefix_id', + 'suffix_id', 'birth_date', 'organization_name', 'legal_name', @@ -1461,6 +1467,8 @@ WHERE id={$id}; "; 'last_name', 'job_title', 'gender_id', + 'prefix_id', + 'suffix_id', 'birth_date', 'household_name', 'email_greeting_custom', -- 2.25.1