1
0
mirror of synced 2025-02-20 22:23:14 +03:00

Fixed field access.

This commit is contained in:
Roman S. Borschel 2010-08-14 19:10:13 +02:00
parent 5719f8523b
commit d56d118458

View File

@ -513,7 +513,7 @@ public function <methodName>()
$methods[] = $code;
}
} else if ($associationMapping['type'] == ClassMetadataInfo::ONE_TO_MANY) {
if ($associationMapping->isOwningSide) {
if ($associationMapping['isOwningSide']) {
if ($code = $this->_generateEntityStubMethod($metadata, 'set', $associationMapping['fieldName'], $associationMapping['targetEntity'])) {
$methods[] = $code;
}