From 66f43ef257cd6c270a8f5233f0c3220cef484635 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Tue, 12 Apr 2022 14:13:45 +0100 Subject: [PATCH] Fix limit issue --- CRM/Contribute/Form/Task/PDF.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Contribute/Form/Task/PDF.php b/CRM/Contribute/Form/Task/PDF.php index 2a9ea95e45..d81f5d7deb 100644 --- a/CRM/Contribute/Form/Task/PDF.php +++ b/CRM/Contribute/Form/Task/PDF.php @@ -253,6 +253,7 @@ AND {$this->_componentClause}"; $contactDetails = civicrm_api3('Contact', 'get', [ 'return' => ['email', 'do_not_email', 'is_deceased', 'on_hold'], 'id' => ['IN' => $contactIds], + 'options' => ['limit' => 0], ])['values']; $pdfElements['suppressedEmails'] = 0; $suppressedEmails = 0; -- 2.25.1