1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Merged fix for #899 from 0.10 to trunk.

This commit is contained in:
romanb 2008-03-22 19:41:29 +00:00
parent 2f1badc7fd
commit 7a1beb5b26

View File

@ -1037,10 +1037,10 @@ abstract class Doctrine_Query_Abstract
$queryComponents[$alias]['mapper'] = $this->_conn->getMapper($queryComponents[$alias]['relation']->getForeignComponentName());
$queryComponents[$alias]['table'] = $queryComponents[$alias]['mapper']->getTable();
}
if (isset($v[1])) {
if (isset($components[1])) {
$queryComponents[$alias]['agg'] = $components[1];
}
if (isset($v[2])) {
if (isset($components[2])) {
$queryComponents[$alias]['map'] = $components[2];
}
}