CRM-17331: Mass SMSes are not being sent, even though send schedules SMS -job complet...
authoryashodha <yashodha.chaku@webaccessglobal.com>
Thu, 29 Oct 2015 09:35:34 +0000 (15:05 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Thu, 29 Oct 2015 09:35:34 +0000 (15:05 +0530)
----------------------------------------
* CRM-17331: Mass SMSes are not being sent, even though "send schedules SMS"-job completes without errors
  https://issues.civicrm.org/jira/browse/CRM-17331

CRM/Mailing/BAO/Mailing.php

index 120807b024281e375eb11aba86426b41cdbc97ee..7b2b0b910fd4bf061fa0ee04c2658c4c983232dd 100644 (file)
@@ -1749,7 +1749,7 @@ ORDER BY   civicrm_email.is_bulkmail DESC
       if (empty($params['_skip_evil_bao_auto_recipients_'])) {
         // check if it's sms
         $mode = $mailing->sms_provider_id ? 'sms' : NULL;
-        self::getRecipients($job->id, $mailing->id, NULL, NULL, TRUE, $mailing->dedupe_email, $mode);
+        self::getRecipients($job->id, $mailing->id, TRUE, $mailing->dedupe_email, $mode);
       }
     }