projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4ee75b
)
Update variable name as per upgraded Mime_mail package to support PHP7.2
author
Seamus Lee
<seamuslee001@gmail.com>
Sat, 19 May 2018 21:55:26 +0000
(07:55 +1000)
committer
deb.monish
<monish.deb@jmaconsulting.biz>
Tue, 22 May 2018 10:24:48 +0000
(15:54 +0530)
api/v3/Mailing.php
patch
|
blob
|
blame
|
history
diff --git
a/api/v3/Mailing.php
b/api/v3/Mailing.php
index b0e868490cff832373e3a8a020c52275a7e33a20..695d76e07a2a6e2f7ac23561a057876bf2c5e159 100644
(file)
--- a/
api/v3/Mailing.php
+++ b/
api/v3/Mailing.php
@@
-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(),
));