refs #307 comment 3
This commit is contained in:
parent
659ecb41b0
commit
7b2a2ac84c
@ -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;
|
||||
}
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user