From c3f23f84e3010aee5bf68f53cd3bdd01517518e7 Mon Sep 17 00:00:00 2001 From: romanb Date: Wed, 13 Feb 2008 15:27:49 +0000 Subject: [PATCH] relaxed a comparison in the hydrator. caused buggy behavior. --- lib/Doctrine/Hydrator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/Hydrator.php b/lib/Doctrine/Hydrator.php index 8ec8f5cf6..0f9e26d38 100644 --- a/lib/Doctrine/Hydrator.php +++ b/lib/Doctrine/Hydrator.php @@ -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();