Permalink
Browse files

5189 alter query limit to account for multiple emails per contact

  • Loading branch information...
1 parent c256145 commit 251804ee9ccd0967208c1386c319650b851883ec @lcdservices lcdservices committed Apr 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 civicrm/custom/php/CRM/Mailing/BAO/Mailing.php
@@ -2084,7 +2084,7 @@ function getDetails($contactIDs,
require_once 'CRM/Contact/BAO/Query.php';
$query = new CRM_Contact_BAO_Query( $params, $returnProperties );
- $details = $query->apiQuery( $params, $returnProperties, NULL, NULL, 0, $numberofContacts );
+ $details = $query->apiQuery( $params, $returnProperties, NULL, NULL, 0, 0 );//NYSS 5189 - don't LIMIT as there may be multiple emails per contact
$contactDetails =& $details[0];

0 comments on commit 251804e

Please sign in to comment.