From b5fd2beffae2484c28bc15b2db0cf0c962fe39c1 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 7 Jan 2014 14:04:50 -0800 Subject: [PATCH] CRM-14054 - Contribution Thank You Letters - Set 'update thank-you date' to checked --- CRM/Contribute/Form/Task/PDFLetter.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Contribute/Form/Task/PDFLetter.php b/CRM/Contribute/Form/Task/PDFLetter.php index 98c838faf8..3d3eb74d2a 100644 --- a/CRM/Contribute/Form/Task/PDFLetter.php +++ b/CRM/Contribute/Form/Task/PDFLetter.php @@ -86,6 +86,9 @@ class CRM_Contribute_Form_Task_PDFLetter extends CRM_Contribute_Form_Task { CRM_Activity_BAO_Activity::retrieve($params, $defaults); $defaults['html_message'] = $defaults['details']; } + else { + $defaults['thankyou_update'] = 1; + } $defaults = $defaults + CRM_Contact_Form_Task_PDFLetterCommon::setDefaultValues(); return $defaults; } -- 2.25.1