Commit 3cbd0f4f authored by totten's avatar totten Committed by GitHub

Merge pull request #10945 from mattwire/nfc_changes

CRM-21153 NFC Fix mispelled variable
parents 079bd33a 83a8a606
......@@ -63,8 +63,8 @@ class CRM_Activity_Form_ActivityLinks extends CRM_Core_Form {
if (!CRM_Utils_Mail::validOutBoundMail() || !$contactId) {
continue;
}
list($name, $email, $doNotEmail, $onHold, $isDeseased) = CRM_Contact_BAO_Contact::getContactDetails($contactId);
if (!$doNotEmail && $email && !$isDeseased) {
list($name, $email, $doNotEmail, $onHold, $isDeceased) = CRM_Contact_BAO_Contact::getContactDetails($contactId);
if (!$doNotEmail && $email && !$isDeceased) {
$url = 'civicrm/activity/email/add';
$act['label'] = ts('Send an Email');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment