1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
zYne 2007-06-25 21:36:45 +00:00
parent fae059c8e0
commit 15db4bd535

View File

@ -328,6 +328,10 @@ class Doctrine_Relation_Parser
$def['foreign'] = $def['table']->getIdentifier();
$def['localKey'] = true;
}
} else {
if ($def['local'] !== $this->_table->getIdentifier()) {
$def['localKey'] = true;
}
}
} else {
if (isset($def['foreign'])) {