From 4512fd446f43786ef16be65262ab70d9b1c85522 Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Mon, 30 Sep 2013 11:32:38 -0700 Subject: [PATCH] CRM-10128 - updated to reflect changed names for gender, prefix, suffix. ---------------------------------------- * CRM-10128: Inconsistent Behavior when saving profile with blank fields http://issues.civicrm.org/jira/browse/CRM-10128 --- CRM/Contact/BAO/Contact.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 982f017737..c6dc298c0d 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -2141,10 +2141,10 @@ ORDER BY civicrm_email.is_primary DESC"; 'job_title', 'middle_name', 'birth_date', - 'gender', + 'gender_id', 'current_employer', - 'individual_prefix', - 'individual_suffix')) && + 'prefix_id', + 'suffix_id')) && ($value == '' || !isset($value)) && ($session->get('authSrc') & (CRM_Core_Permission::AUTH_SRC_CHECKSUM + CRM_Core_Permission::AUTH_SRC_LOGIN)) == 0) { // CRM-10128: if auth source is not checksum / login && $value is blank, do not fill $data with empty value -- 2.25.1