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:
c0fe765
)
CRM-17580 - Include contributionTokens in contribution PDFLetter (Thank-you Letter...
author
Dave Greenberg
<dave@civicrm.org>
Tue, 17 Nov 2015 00:52:07 +0000
(16:52 -0800)
committer
Dave Greenberg
<dave@civicrm.org>
Tue, 17 Nov 2015 00:52:07 +0000
(16:52 -0800)
----------------------------------------
* CRM-17580: Contribution Tokens not available for Print PDF Thank-you Letter Task
https://issues.civicrm.org/jira/browse/CRM-17580
CRM/Contribute/Form/Task/PDFLetter.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contribute/Form/Task/PDFLetter.php
b/CRM/Contribute/Form/Task/PDFLetter.php
index 5b403005b69ece41e6f4e8e279de0f157c804912..103da0334549f8e8ac6744416ec9d1c31ba2765a 100644
(file)
--- 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;
}