From f09b9895b675fadc46a8941bb3012a08b495b503 Mon Sep 17 00:00:00 2001 From: Jan Kramer Date: Fri, 27 Feb 2015 15:09:58 +0100 Subject: [PATCH] Fix embeddable instantiation in nested situations --- 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 ad418418a..75760abf4 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php @@ -934,7 +934,7 @@ class ClassMetadataInfo implements ClassMetadata $this->embeddedClasses[$embeddedClass['declaredField']]['class'], $embeddedClass['originalField'] ), - $embeddedClass['class'] + $this->embeddedClasses[$embeddedClass['declaredField']]['class'] ); continue;