1
0
mirror of synced 2025-01-18 14:31:40 +03:00

relaxed a comparison in the hydrator. caused buggy behavior.

This commit is contained in:
romanb 2008-02-13 15:27:49 +00:00
parent b6a6866b9c
commit c3f23f84e3

View File

@ -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();