Fixed created_at date in bulk add action in subscribers list [MAILPOET-1311]
This commit is contained in:
@ -102,8 +102,8 @@ class SubscriberSegment extends Model {
|
|||||||
|
|
||||||
$query = array(
|
$query = array(
|
||||||
'INSERT IGNORE INTO `'.self::$_table.'`',
|
'INSERT IGNORE INTO `'.self::$_table.'`',
|
||||||
'(`subscriber_id`, `segment_id`)',
|
'(`subscriber_id`, `segment_id`, `created_at`)',
|
||||||
'VALUES '.rtrim(str_repeat('(?, ?),', $row_count), ',')
|
'VALUES '.rtrim(str_repeat('(?, ?, NOW()),', $row_count), ',')
|
||||||
);
|
);
|
||||||
self::rawExecute(join(' ', $query), $values);
|
self::rawExecute(join(' ', $query), $values);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user