CRM-16237 - crmMailing - Restore checking of required tokens
[civicrm-core.git] / CRM / Mailing / Info.php
index 9fdcf6c61516ef3110cece459b1747ea8695ee2b..56a9cfe6b47eee67f7fc2f39eec1401be879818f 100644 (file)
@@ -120,7 +120,7 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info {
     ));
     $headerfooterList = civicrm_api3('MailingComponent', 'get', $params + array(
       'is_active' => 1,
-      'return' => array('name', 'component_type', 'is_default'),
+      'return' => array('name', 'component_type', 'is_default', 'body_html', 'body_text'),
     ));
 
     $emailAdd = civicrm_api3('Email', 'get', array(