改名
This commit is contained in:
@@ -502,7 +502,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
|
|||||||
static::getDb()->enablingTransactions();
|
static::getDb()->enablingTransactions();
|
||||||
[$attributes, $condition, $param] = $this->filtration_and_separation();
|
[$attributes, $condition, $param] = $this->filtration_and_separation();
|
||||||
if (($primary = $this->getPrimary()) !== null) {
|
if (($primary = $this->getPrimary()) !== null) {
|
||||||
$condition = [$primary => $this->getPrimaryValue()];
|
$condition = [[$primary => $this->getPrimaryValue()]];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->isNewExample) {
|
if (!$this->isNewExample) {
|
||||||
|
|||||||
Reference in New Issue
Block a user