diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index 0f4ff19e5..dc5ec7582 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -150,7 +150,7 @@ class ClassMetadataFactory } else { foreach ($this->_loadMetadata($realClassName) as $loadedClassName) { $this->_cacheDriver->save( - "$loadedClassName\$CLASSMETADATA", $this->_loadedMetadata[$realClassName], null + "$loadedClassName\$CLASSMETADATA", $this->_loadedMetadata[$loadedClassName], null ); } }