1
0
mirror of synced 2025-01-18 06:21:40 +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'],
'inversedBy' => $associationMapping['inversedBy'],
'orphanRemoval' => $associationMapping['orphanRemoval'],
'orderBy' => $associationMapping['orderBy']
'orderBy' => isset($associationMapping['orderBy']) ? $associationMapping['orderBy'] : null
);
$associationMappingArray = array_merge($associationMappingArray, $oneToManyMappingArray);