diff --git a/cake/libs/model/model.php b/cake/libs/model/model.php index e639a54ec..01182518e 100644 --- a/cake/libs/model/model.php +++ b/cake/libs/model/model.php @@ -1237,6 +1237,7 @@ class Model extends Overloadable { } $this->_deleteDependent($id, $cascade); $this->_deleteLinks($id); + $this->id = $id; if ($db->delete($this)) { if (!empty($this->behaviors)) {