From 0875bb9b9207ce9a372d6560bd2b760d0b193e78 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Thu, 18 Aug 2016 17:14:49 +0530 Subject: [PATCH] CRM-19238 - Print/Merge Document not creating Activity after download --- CRM/Contact/Form/Task/PDFLetterCommon.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Task/PDFLetterCommon.php b/CRM/Contact/Form/Task/PDFLetterCommon.php index 0bb334e6a7..116d0115ab 100644 --- a/CRM/Contact/Form/Task/PDFLetterCommon.php +++ b/CRM/Contact/Form/Task/PDFLetterCommon.php @@ -348,7 +348,7 @@ class CRM_Contact_Form_Task_PDFLetterCommon { $html = $document = array(); // CRM-16725 Skip creation of activities if user is previewing their PDF letter(s) - if ($buttonName == '_qf_PDF_submit') { + if ($buttonName == '_qf_PDF_upload') { self::createActivities($form, $html_message, $form->_contactIds); } -- 2.25.1