Skip to content

Commit

Permalink
Set limit to 0 when processing send sms task
Browse files Browse the repository at this point in the history
  • Loading branch information
pradpnayak committed Apr 11, 2022
1 parent 58a4205 commit a7e48b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Contact/Form/Task/SMSCommon.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ public static function buildQuickForm(&$form) {
$form->_contactDetails = civicrm_api3('Contact', 'get', [
'id' => ['IN' => $form->_contactIds],
'return' => ['sort_name', 'phone', 'do_not_sms', 'is_deceased', 'display_name'],
'options' => ['limit' => 0],
])['values'];

// make a copy of all contact details
Expand Down

0 comments on commit a7e48b6

Please sign in to comment.