relaxed a comparison in the hydrator. caused buggy behavior.
This commit is contained in:
parent
b6a6866b9c
commit
c3f23f84e3
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class Doctrine_Hydrator extends Doctrine_Hydrator_Abstract
|
|||
|
||||
$this->_tableAliases = $tableAliases;
|
||||
|
||||
if ($hydrationMode === Doctrine::HYDRATE_ARRAY) {
|
||||
if ($hydrationMode == Doctrine::HYDRATE_ARRAY) {
|
||||
$driver = new Doctrine_Hydrator_ArrayDriver();
|
||||
} else {
|
||||
$driver = new Doctrine_Hydrator_RecordDriver();
|
||||
|
|
Loading…
Add table
Reference in a new issue