1
0
mirror of synced 2025-01-18 22:41:43 +03:00
This commit is contained in:
zYne 2006-10-12 21:07:15 +00:00
parent db433c8449
commit 3e6a352a57

View File

@ -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)) {