Commit 2e91a552 authored by Виталий Мурашко's avatar Виталий Мурашко

Merge branch 'master' of http://git.task-on.com/ktask/task-on.com

parents 5d4f02d3 93a11199
......@@ -17,6 +17,7 @@ use Yii;
* @property string $date_create
* @property integer $list_id
* @property integer $campaign_id
* @property integer $template_id
*/
class TriggerSchedule extends \yii\db\ActiveRecord
{
......
......@@ -265,6 +265,7 @@ class TriggerTrigger extends \common\components\ActiveRecordModel
$schedule = new TriggerSchedule();
$schedule->sended=1;
// $schedule->checked=(array_key_exists('checked', $params)) ? $params['checked'] : 0;
$schedule->template_id=$this->message_template_id;
$schedule->message_id=$newMessageId;
$schedule->message=$template->getTemplate();
$schedule->email=$email;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment