From: kurund Date: Mon, 5 Aug 2013 22:13:21 +0000 (+0530) Subject: CRM-13107, fixed the option to show prefix and suffix fields only in Individual select X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=79ecd16e89a489b17d73e9724d0d2de4c0153522;p=civicrm-core.git 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 --- 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',