Skip to content

Commit

Permalink
Fixed #36: Basic import throws DB exception on unique validation
Browse files Browse the repository at this point in the history
  • Loading branch information
arogachev committed Jul 23, 2016
1 parent ba8893d commit e8321b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/import/basic/Importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected function safeRun()

Yii::$app->db->transaction(function () {
foreach ($this->_models as $model) {
$model->save(false);
$model->save();
}
});

Expand Down

0 comments on commit e8321b9

Please sign in to comment.