modify plugin name

This commit is contained in:
2022-03-01 17:17:23 +08:00
parent 918374f1b2
commit 9d23efaed8
+1 -1
View File
@@ -621,7 +621,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, T
return FALSE;
}
[$change, $condition, $fields] = $this->separation();
if (!empty($this->_oldAttributes)) {
if (!$this->getIsNowExample()) {
return $this->updateInternal($fields, $condition, $change);
} else {
return $this->insert($change, $fields);