removed extra spaces

This commit is contained in:
Jonathan Labreuille
2016-05-27 14:14:09 +02:00
parent 8292e9a744
commit cf33d6f066

View File

@ -109,7 +109,7 @@ class SubscriberSegment extends Model {
$query = array( $query = array(
'INSERT IGNORE INTO `'.self::$_table.'`', 'INSERT IGNORE INTO `'.self::$_table.'`',
'(`subscriber_id`, `segment_id`, `status`)', '(`subscriber_id`, `segment_id`, `status`)',
'VALUES '.rtrim(str_repeat('(?, ?, ?), ', $row_count), ', ') 'VALUES '.rtrim(str_repeat('(?, ?, ?),', $row_count), ',')
); );
self::rawExecute(join(' ', $query), $values); self::rawExecute(join(' ', $query), $values);