Skip to content

Commit

Permalink
Merge pull request #12169 from seamuslee001/mime_mail_upgrade
Browse files Browse the repository at this point in the history
Update variable name as per upgraded Mime_mail package to support PHP7.2
  • Loading branch information
monishdeb authored May 22, 2018
2 parents a4ee75b + afa5a47 commit 7d2bea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v3/Mailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ function civicrm_api3_mailing_preview($params) {
return civicrm_api3_create_success(array(
'id' => $params['id'],
'contact_id' => $contactID,
'subject' => $mime->_headers['Subject'],
'subject' => $mime->headers()['Subject'],
'body_html' => $mime->getHTMLBody(),
'body_text' => $mime->getTXTBody(),
));
Expand Down

0 comments on commit 7d2bea5

Please sign in to comment.