1
0
mirror of synced 2024-12-14 15:16:04 +03:00

nullable assoc

This commit is contained in:
Asmir Mustafic 2012-02-15 12:43:55 +01:00
parent e6b99c2059
commit d1b2dabc0f

View File

@ -707,6 +707,9 @@ public function <methodName>()
private function _isAssociationIsNullable($associationMapping) private function _isAssociationIsNullable($associationMapping)
{ {
if (isset($associationMapping['id']) && $associationMapping['id']) {
return false;
}
if (isset($associationMapping['joinColumns'])) { if (isset($associationMapping['joinColumns'])) {
$joinColumns = $associationMapping['joinColumns']; $joinColumns = $associationMapping['joinColumns'];
} else { } else {