Skip to content
Snippets Groups Projects
Commit 7f41e1ad authored by Kurund Jalmi's avatar Kurund Jalmi
Browse files

Merge pull request #1378 from davecivicrm/CRM-12869

 	CRM-12869 This is a temporary fix from Eileen which prevents the over-writing of email address
parents 4822aed2 abba096d
Branches
Tags
No related merge requests found
......@@ -1357,12 +1357,12 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
$formValues['preserveDBName'] = TRUE;
}
}
//here we are setting up the billing contact - if different from the member they are already created
// but they will get billing details assigned
CRM_Contact_BAO_Contact::createProfileContact($formValues, $fields,
$this->_contributorContactID, NULL, NULL, $ctype
);
if ($this->_contributorContactID == $this->_contactID) {
//see CRM-12869 for discussion of why we don't do this for separate payee payments
CRM_Contact_BAO_Contact::createProfileContact($formValues, $fields,
$this->_contributorContactID, NULL, NULL, $ctype
);
}
// add all the additioanl payment params we need
$this->_params["state_province-{$this->_bltID}"] = $this->_params["billing_state_province-{$this->_bltID}"] = CRM_Core_PseudoConstant::stateProvinceAbbreviation($this->_params["billing_state_province_id-{$this->_bltID}"]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment