From e1e7b650f0cf7defcb54240f4a7d8d38aebb3f05 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 7 Jun 2018 13:25:55 +1000 Subject: [PATCH] dev/core#163 Improve way of getting all groups for use in getting all mailing accessable by a user by removing is_active filter alltogether --- CRM/Mailing/BAO/Mailing.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Mailing/BAO/Mailing.php b/CRM/Mailing/BAO/Mailing.php index 98bb54e6bc..8e34d917e1 100644 --- a/CRM/Mailing/BAO/Mailing.php +++ b/CRM/Mailing/BAO/Mailing.php @@ -2336,7 +2336,6 @@ ORDER BY civicrm_email.is_bulkmail DESC // get all the groups that this user can access // if they dont have universal access $groupNames = civicrm_api3('Group', 'get', array( - 'is_active' => '', 'check_permissions' => TRUE, 'return' => array('title', 'id'), 'options' => array('limit' => 0), -- 2.25.1