Commit 33fbb4f3 authored by pookey's avatar pookey

previous fix resulted in php segfaulting

parent 9f00ce65
......@@ -395,8 +395,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 +409,7 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
$prev[$name]->setAggregateValue($agg, $value);
}
//}
}
continue;
}
......
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