From: Tim Otten Date: Fri, 6 Mar 2015 03:55:50 +0000 (-0800) Subject: CRM-16063 - CiviMail - Get full list of active mailin components. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ebf5752543020de8a825df06f917d6c0a2575e28;p=civicrm-core.git CRM-16063 - CiviMail - Get full list of active mailin components. --- diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index 2f56018e10..ae39a6e230 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -100,7 +100,12 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info { $mailingabNames = civicrm_api3('MailingAB', 'get', array()); $mailStatus = civicrm_api3('MailingJob', 'get', array()); $groupNames = civicrm_api3('Group', 'get', array()); - $headerfooterList = civicrm_api3('MailingComponent', 'get', array()); + $headerfooterList = civicrm_api3('MailingComponent', 'get', array( + 'is_active' => 1, + 'options' => array( + 'limit' => 0, + ), + )); $emailAdd = civicrm_api3('Email', 'get', array( 'sequential' => 1,