Fixes #164
This commit is contained in:
parent
db433c8449
commit
3e6a352a57
@ -414,11 +414,11 @@ abstract class Doctrine_Hydrate extends Doctrine_Access {
|
||||
$tmp = explode(".", $path);
|
||||
$alias = end($tmp);
|
||||
|
||||
$fk = $this->tables[$pointer]->getRelation($alias);
|
||||
|
||||
if( ! isset($prev[$pointer]) )
|
||||
return $prev;
|
||||
|
||||
$fk = $this->tables[$pointer]->getRelation($alias);
|
||||
|
||||
if( ! $fk->isOneToOne()) {
|
||||
if($prev[$pointer]->getLast() instanceof Doctrine_Record) {
|
||||
if( ! $prev[$pointer]->getLast()->hasReference($alias)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user