From 4fe4b385399e0fca52d0c7905dae49a90f9c42c2 Mon Sep 17 00:00:00 2001 From: "Donald A. Lobo" Date: Tue, 29 Oct 2013 12:45:08 -0700 Subject: [PATCH] CRM-13668 - membership based tokens are inappropriately applying a return limit http://issues.civicrm.org/jira/browse/CRM-13668 --- CRM/Utils/Token.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index 4d459f93b7..2d659e5edd 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -1204,7 +1204,7 @@ class CRM_Utils_Token { * @param array $membershipIDs array of membership IDS */ static function getMembershipTokenDetails($membershipIDs) { - $memberships = civicrm_api3('membership', 'get', array('membership_id' => array('IN' => (array) $membershipIDs))); + $memberships = civicrm_api3('membership', 'get', array('options' => array('limit' => 200000), 'membership_id' => array('IN' => (array) $membershipIDs))); return $memberships['values']; } /** -- 2.25.1