Pre Merge pull request !167 from flybing/master

pull/167/MERGE
flybing 2020-04-22 19:18:52 +08:00 committed by Gitee
commit bf23f9d060
1 changed files with 1 additions and 1 deletions

View File

@ -463,7 +463,7 @@ trait Backend
}
}
}
$this->model->saveAll($insert);
$this->model->saveAll($insert, false);
} catch (PDOException $exception) {
$msg = $exception->getMessage();
if (preg_match("/.+Integrity constraint violation: 1062 Duplicate entry '(.+)' for key '(.+)'/is", $msg, $matches)) {