Skip to content
Snippets Groups Projects
Unverified Commit 187d67c4 authored by mattwire's avatar mattwire Committed by GitHub
Browse files

Merge pull request #15306 from bhahumanists/bhahumanists-mailingID

#1253 Pass mailing id to alterMailContent hook
parents 0652f310 c283816e
Branches
Tags
No related merge requests found
......@@ -689,6 +689,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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment