fixed: old mapped values were deleted when data was hydrated into an existing record (lazy-loading)
This commit is contained in:
parent
3565dea72b
commit
520f4a1056
@ -451,7 +451,7 @@ abstract class Doctrine_Record extends Doctrine_Record_Abstract implements Count
|
||||
*/
|
||||
public function hydrate(array $data)
|
||||
{
|
||||
$this->_values = $this->cleanData($data);
|
||||
$this->_values = array_merge($this->_values, $this->cleanData($data));
|
||||
$this->_data = array_merge($this->_data, $data);
|
||||
|
||||
$this->prepareIdentifiers(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user