Skip to content
Snippets Groups Projects
Unverified Commit 791930c6 authored by Seamus Lee's avatar Seamus Lee Committed by GitHub
Browse files

Merge pull request #16292 from eileenmcnaughton/522

user-interface#13 fix regression where option to email is not longer displayed
parents 5698e346 d0c83583
Branches
Tags
No related merge requests found
......@@ -607,8 +607,8 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
$this->assign('customDataSubType', $this->_contributionType);
$this->assign('entityID', $this->_id);
$contactField = $this->addEntityRef('contact_id', ts('Contributor'), ['create' => TRUE], TRUE);
if ($this->_context != 'standalone') {
$contactField = $this->addEntityRef('contact_id', ts('Contributor'), ['create' => TRUE, 'api' => ['extra' => ['email']]], TRUE);
if ($this->_context !== 'standalone') {
$contactField->freeze();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment