1
0
mirror of synced 2024-12-13 22:56:04 +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 // Association defined as Id field
$joinColumns = $this->associationMappings[$idProperty]['joinColumns']; $joinColumns = $this->associationMappings[$idProperty]['joinColumns'];
$assocQuotedColumnNames = array_map( $assocQuotedColumnNames = array_map(
function ($joinColumn) { function ($joinColumn) use ($platform) {
return isset($joinColumn['quoted']) return isset($joinColumn['quoted'])
? $platform->quoteIdentifier($joinColumn['name']) ? $platform->quoteIdentifier($joinColumn['name'])
: $joinColumn['name']; : $joinColumn['name'];