Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
monishdeb committed May 22, 2018
1 parent b45a7eb commit afa5a47
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 afa5a47

Please sign in to comment.