Skip to content

Commit

Permalink
Merge pull request civicrm#13637 from jitendrapurohit/core737
Browse files Browse the repository at this point in the history
dev/core#737 - SMS not sent if 'Send Immediately' option is chosen on…
  • Loading branch information
seamuslee001 authored Feb 19, 2019
2 parents f386cb1 + 80b3370 commit c3c6f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/SMS/Form/Schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ public function postProcess() {
CRM_Core_Error::fatal(ts('Could not find a mailing id'));
}

$send_option = $this->controller->exportValue($this->_name, 'send_option');
$params['send_option'] = $this->controller->exportValue($this->_name, 'send_option');
if (isset($params['send_option']) && $params['send_option'] == 'send_immediate') {
$params['scheduled_date'] = date('YmdHis');
}
Expand Down

0 comments on commit c3c6f82

Please sign in to comment.