1
0
mirror of synced 2024-12-13 14:56:01 +03:00

added missing use statement

This commit is contained in:
Thomas Rothe 2012-09-06 18:13:47 +02:00 committed by Thomas Rothe
parent 7beffb5a5f
commit 7acdcd6952

View File

@ -2725,7 +2725,7 @@ class ClassMetadataInfo implements ClassMetadata
// Association defined as Id field
$joinColumns = $this->associationMappings[$idProperty]['joinColumns'];
$assocQuotedColumnNames = array_map(
function ($joinColumn) {
function ($joinColumn) use ($platform) {
return isset($joinColumn['quoted'])
? $platform->quoteIdentifier($joinColumn['name'])
: $joinColumn['name'];