1
0
mirror of synced 2025-02-20 14:13:15 +03:00

Ported fix for #929 from 0.10 to trunk. Testcase needs to be ported later since the behavior implementation is not useable in trunk atm.

This commit is contained in:
romanb 2008-04-05 07:35:57 +00:00
parent 2d68239681
commit 78492f3c9a
2 changed files with 3 additions and 3 deletions

View File

@ -207,9 +207,9 @@ class Doctrine_Hydrator extends Doctrine_Hydrator_Abstract
} else {
$index = $identifierMap[$path][$id[$parent]][$id[$dqlAlias]];
}
// register collection for later snapshots
$driver->registerCollection($prev[$parent][$relationAlias]);
}
// register collection for later snapshots
$driver->registerCollection($prev[$parent][$relationAlias]);
} else {
// 1-1 relation
$oneToOne = true;

View File

@ -87,7 +87,7 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
private static $_index = 1;
/**
* Boolean flag that indicated whether automatic accessor overriding is enabled.
* Boolean flag that indicates whether automatic accessor overriding is enabled.
*
* @var boolean
*/