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:
4a7abef
)
#1253 Pass mailing id to alterMailContent hook
author
Andrew West
<awest@humanism.org.uk>
Fri, 13 Sep 2019 11:54:04 +0000
(12:54 +0100)
committer
GitHub
<noreply@github.com>
Fri, 13 Sep 2019 11:54:04 +0000
(12:54 +0100)
https://lab.civicrm.org/dev/core/issues/1253
CRM/Mailing/BAO/Mailing.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Mailing/BAO/Mailing.php
b/CRM/Mailing/BAO/Mailing.php
index 9a24f8a9a821fff24f22d26346cd1a306dbd5d44..c8e1a53060e8c1ebe51799086e270655c9fba503 100644
(file)
--- a/
CRM/Mailing/BAO/Mailing.php
+++ b/
CRM/Mailing/BAO/Mailing.php
@@
-713,6
+713,7
@@
class CRM_Mailing_BAO_Mailing extends CRM_Mailing_DAO_Mailing {
$this->templates['subject'] = implode("\n", $template);
}
+ $this->templates['mailingID'] = $this->id;
CRM_Utils_Hook::alterMailContent($this->templates);
}
return $this->templates;