Skip to content

Commit

Permalink
Remove immediately overwritten value
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Apr 1, 2020
1 parent 73c02ee commit 7f392e5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CRM/Contact/Form/Task/EmailTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ protected function bounceIfSimpleMailLimitExceeded($count) {
public function submit($formValues) {
$this->saveMessageTemplate($formValues);

$from = $formValues['from_email_address'] ?? NULL;
// dev/core#357 User Emails are keyed by their id so that the Signature is able to be added
// If we have had a contact email used here the value returned from the line above will be the
// numerical key where as $from for use in the sendEmail in Activity needs to be of format of "To Name" <toemailaddress>
Expand Down

0 comments on commit 7f392e5

Please sign in to comment.