1
0
mirror of synced 2025-01-18 22:41:43 +03:00

previous fix resulted in php segfaulting

This commit is contained in:
pookey 2006-12-02 08:57:45 +00:00
parent 9f00ce65f0
commit 33fbb4f353

View File

@ -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;
}