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:
3ba4f72
)
CRM-12247
author
Donald A. Lobo
<lobo@civicrm.org>
Fri, 29 Mar 2013 23:43:48 +0000
(16:43 -0700)
committer
Donald A. Lobo
<lobo@civicrm.org>
Fri, 29 Mar 2013 23:43:48 +0000
(16:43 -0700)
CRM/Mailing/BAO/Mailing.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/BAO/Mailing.php
b/CRM/Mailing/BAO/Mailing.php
index 9d72cf3c742e7ed52e5b46f2beed572b4a6eee7a..84ff78f3430998f68dc0b098c4f06f84c4e7870f 100644
(file)
--- a/
CRM/Mailing/BAO/Mailing.php
+++ b/
CRM/Mailing/BAO/Mailing.php
@@
-769,6
+769,11
@@
ORDER BY i.contact_id, i.{$tempColumn}
if ($this->body_html) {
$this->_getTokens('html');
+ if (!$this->body_text) {
+ // Since the text template was created from html, use the html tokens.
+ // @see CRM_Mailing_BAO_Mailing::getTemplates()
+ $this->tokens['text'] = $this->tokens['html'];
+ }
}
if ($this->body_text) {