From 7acdcd6952ca5407c49d0e7de69babb0f7c668e3 Mon Sep 17 00:00:00 2001
From: Thomas Rothe
Date: Thu, 6 Sep 2012 18:13:47 +0200
Subject: [PATCH] added missing use statement
---
lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
index 897f71de0..4dc5c7557 100644
--- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
+++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php
@@ -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'];