From 8474fc16c73b9142c944423ab36886ed976f8a12 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 30 Sep 2014 16:41:06 +0100 Subject: [PATCH] CRM-15383 - fix template loading for PDF letter ---------------------------------------- * CRM-15383: Can't load template when creating PDF letter https://issues.civicrm.org/jira/browse/CRM-15383 --- CRM/Mailing/BAO/Mailing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 15b5f15d9e..09cfd0e076 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -2576,7 +2576,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id $form->add('select', 'template', ts('Select Template'), array( '' => ts('- select -')) + $form->_templates, FALSE, - array('onChange' => "selectValue( this.value );") + array('onChange' => "selectValue( this.value,'' );") ); $form->add('checkbox', 'updateTemplate', ts('Update Template'), NULL); } -- 2.25.1