From 80b337053a0535bd2c7427d505f67f481b905140 Mon Sep 17 00:00:00 2001 From: Jitendra Purohit Date: Tue, 19 Feb 2019 09:32:20 +0530 Subject: [PATCH] dev/core#737 - SMS not sent if 'Send Immediately' option is chosen on the last screen --- CRM/SMS/Form/Schedule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/SMS/Form/Schedule.php b/CRM/SMS/Form/Schedule.php index 1858e2a749..f4ddf7d868 100644 --- a/CRM/SMS/Form/Schedule.php +++ b/CRM/SMS/Form/Schedule.php @@ -152,7 +152,7 @@ class CRM_SMS_Form_Schedule extends CRM_Core_Form { 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'); } -- 2.25.1