eee
This commit is contained in:
@@ -503,6 +503,9 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
|
||||
$oldPrams[$key] = $this->_oldAttributes[$key];
|
||||
}
|
||||
}
|
||||
if ($this->hasPrimary()) {
|
||||
$condition = [$this->getPrimary() => $this->getPrimaryValue()];
|
||||
}
|
||||
return [$oldPrams, $condition, $params];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user