This commit is contained in:
2023-12-20 18:03:36 +08:00
parent 2d067b9d6a
commit 797d44f816
+1 -1
View File
@@ -500,7 +500,7 @@ abstract class Model extends Component implements ModelInterface, ArrayAccess, \
$condition[$key] = $attribute; $condition[$key] = $attribute;
unset($params[$key]); unset($params[$key]);
} else { } else {
$oldPrams[$key] = $this->_oldAttributes[$attribute]; $oldPrams[$key] = $this->_oldAttributes[$key];
} }
} }
return [$oldPrams, $condition, $params]; return [$oldPrams, $condition, $params];