modify plugin name
This commit is contained in:
@@ -546,6 +546,8 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
|
|||||||
$lastId = $dbConnection->save();
|
$lastId = $dbConnection->save();
|
||||||
if ($this->isAutoIncrement()) {
|
if ($this->isAutoIncrement()) {
|
||||||
$lastId = $this->setPrimary((int)$lastId, $param);
|
$lastId = $this->setPrimary((int)$lastId, $param);
|
||||||
|
} else {
|
||||||
|
$lastId = $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->setIsNowExample(false);
|
$this->setIsNowExample(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user