CRM-13107, fixed the option to show prefix and suffix fields only in Individual select
authorkurund <kurund@civicrm.org>
Mon, 5 Aug 2013 22:13:21 +0000 (03:43 +0530)
committerkurund <kurund@civicrm.org>
Mon, 5 Aug 2013 22:13:21 +0000 (03:43 +0530)
----------------------------------------
* 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

index b2f1eefe00b7db8f827adcfa55fdb4eaebe47e8c..2905cb1942442d3a07602116329738f92c6cd880 100644 (file)
@@ -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',