Fix limit issue
authorPradeep Nayak <pradpnayak@gmail.com>
Tue, 12 Apr 2022 13:13:45 +0000 (14:13 +0100)
committerPradeep Nayak <pradpnayak@gmail.com>
Tue, 12 Apr 2022 13:13:45 +0000 (14:13 +0100)
CRM/Contribute/Form/Task/PDF.php

index 2a9ea95e4525936fe6a2275e28bfff33c34c0a7a..d81f5d7deb31330d5f198fb40e8e43e16a72f224 100644 (file)
@@ -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;