diff --git a/lib/Cake/Model/Model.php b/lib/Cake/Model/Model.php index dd309fd1f..b5a6ea7b8 100644 --- a/lib/Cake/Model/Model.php +++ b/lib/Cake/Model/Model.php @@ -2116,7 +2116,6 @@ class Model extends Object implements CakeEventListener { } else { $validates = $this->create($record) && $this->validates($options); } - $data[$key] = $this->data; if ($validates === false || (is_array($validates) && in_array(false, $validates, true))) { $validationErrors[$key] = $this->validationErrors; $validates = false; @@ -2125,7 +2124,6 @@ class Model extends Object implements CakeEventListener { } $return[$key] = $validates; } - $this->data = $data; $this->validationErrors = $validationErrors; if (!$options['atomic']) { return $return;