From b4a37a31fea5d4854961ab60208d4c06014364fc Mon Sep 17 00:00:00 2001 From: Jon goldberg Date: Fri, 7 Aug 2015 17:13:49 -0400 Subject: [PATCH] CRM-16981 - When composing a mailing to previous mailing recipients, only show mailings affiliated with this domain --- CRM/Mailing/Info.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index 2bed417cb9..0ab50f21d1 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -102,6 +102,7 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info { $civiMails = civicrm_api3('Mailing', 'get', array( 'is_completed' => 1, 'mailing_type' => array('IN' => array('standalone', 'winner')), + 'domain_id' => CRM_Core_Config::domainID(), 'return' => array('id', 'name', 'scheduled_date'), 'sequential' => 1, 'options' => array( -- 2.25.1