From: Dave Greenberg Date: Tue, 17 Nov 2015 00:52:07 +0000 (-0800) Subject: CRM-17580 - Include contributionTokens in contribution PDFLetter (Thank-you Letter... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8ee05f69c0ad4c5daf4ff75731a3e3d98473ecba;p=civicrm-core.git CRM-17580 - Include contributionTokens in contribution PDFLetter (Thank-you Letter) task. ---------------------------------------- * CRM-17580: Contribution Tokens not available for Print PDF Thank-you Letter Task https://issues.civicrm.org/jira/browse/CRM-17580 --- diff --git a/CRM/Contribute/Form/Task/PDFLetter.php b/CRM/Contribute/Form/Task/PDFLetter.php index 5b403005b6..103da03345 100644 --- a/CRM/Contribute/Form/Task/PDFLetter.php +++ b/CRM/Contribute/Form/Task/PDFLetter.php @@ -166,6 +166,7 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task { */ public function listTokens() { $tokens = CRM_Core_SelectValues::contactTokens(); + $tokens = array_merge(CRM_Core_SelectValues::contributionTokens(), $tokens); return $tokens; }