Commit 7a1beb5b authored by romanb's avatar romanb

Merged fix for #899 from 0.10 to trunk.

parent 2f1badc7
......@@ -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];
}
}
......
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