Commit 7b2a2ac8 authored by pookey's avatar pookey

refs #307 comment 3

parent 659ecb41
......@@ -225,6 +225,9 @@ abstract class Doctrine_Hydrate extends Doctrine_Access
// copy the aliases to the subquery
$obj->copyAliases($this);
// this prevents the 'id' being selected, re ticket #307
$obj->isSubquery(true);
return $obj;
}
/**
......
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