relaxed a comparison in the hydrator. caused buggy behavior.
This commit is contained in:
parent
b6a6866b9c
commit
c3f23f84e3
@ -70,7 +70,7 @@ class Doctrine_Hydrator extends Doctrine_Hydrator_Abstract
|
|||||||
|
|
||||||
$this->_tableAliases = $tableAliases;
|
$this->_tableAliases = $tableAliases;
|
||||||
|
|
||||||
if ($hydrationMode === Doctrine::HYDRATE_ARRAY) {
|
if ($hydrationMode == Doctrine::HYDRATE_ARRAY) {
|
||||||
$driver = new Doctrine_Hydrator_ArrayDriver();
|
$driver = new Doctrine_Hydrator_ArrayDriver();
|
||||||
} else {
|
} else {
|
||||||
$driver = new Doctrine_Hydrator_RecordDriver();
|
$driver = new Doctrine_Hydrator_RecordDriver();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user