From 9f00ce65f0f76ae1c823ece49dd3d54787d7d106 Mon Sep 17 00:00:00 2001 From: pookey Date: Sat, 2 Dec 2006 08:01:01 +0000 Subject: [PATCH] refs #239 - probably fixes, zYne- please check... tests are currently broken --- lib/Doctrine/Hydrate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Doctrine/Hydrate.php b/lib/Doctrine/Hydrate.php index fb52130da..684d00b35 100644 --- a/lib/Doctrine/Hydrate.php +++ b/lib/Doctrine/Hydrate.php @@ -396,7 +396,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access { $prev = $this->initRelated($prev, $name); // aggregate values have numeric keys - if(isset($row[0])) { + //if(isset($row[0])) { $path = array_search($name, $this->tableAliases); $alias = $this->getPathAlias($path); @@ -410,7 +410,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access { $prev[$name]->setAggregateValue($agg, $value); } - } + //} continue; }