1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Merge pull request #62 from mvrhov/yml_export_notice_fix

Fixing Notice: Undefined index in yaml export driver
This commit is contained in:
Benjamin Eberlei 2011-06-05 03:28:31 -07:00
commit ff30f86082

View File

@ -172,7 +172,7 @@ class YamlExporter extends AbstractExporter
'mappedBy' => $associationMapping['mappedBy'], 'mappedBy' => $associationMapping['mappedBy'],
'inversedBy' => $associationMapping['inversedBy'], 'inversedBy' => $associationMapping['inversedBy'],
'orphanRemoval' => $associationMapping['orphanRemoval'], 'orphanRemoval' => $associationMapping['orphanRemoval'],
'orderBy' => $associationMapping['orderBy'] 'orderBy' => isset($associationMapping['orderBy']) ? $associationMapping['orderBy'] : null
); );
$associationMappingArray = array_merge($associationMappingArray, $oneToManyMappingArray); $associationMappingArray = array_merge($associationMappingArray, $oneToManyMappingArray);