Limit issue fix
authorPradeep Nayak <pradpnayak@gmail.com>
Fri, 15 Apr 2022 22:45:00 +0000 (23:45 +0100)
committerPradeep Nayak <pradpnayak@gmail.com>
Fri, 15 Apr 2022 22:45:00 +0000 (23:45 +0100)
CRM/Member/Form/Task/Label.php

index c6fddc7c0ba1fd1851cc14786e80cee878decdc3..ff618291956a135a165413832ccb78253b0b4c8a 100644 (file)
@@ -112,6 +112,7 @@ class CRM_Member_Form_Task_Label extends CRM_Member_Form_Task {
       $memberships = civicrm_api3('membership', 'get', [
         'id' => ['IN' => $this->_memberIds],
         'return' => 'contact_id',
+        'options' => ['limit' => 0],
       ]);
       foreach ($memberships['values'] as $id => $membership) {
         if (isset($rows[$membership['contact_id']])) {