Commit c3f23f84 authored by romanb's avatar romanb

relaxed a comparison in the hydrator. caused buggy behavior.

parent b6a6866b
...@@ -70,7 +70,7 @@ class Doctrine_Hydrator extends Doctrine_Hydrator_Abstract ...@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment