From 99bdf65c10373e1deec8b4dfaee717c4fb461cf8 Mon Sep 17 00:00:00 2001 From: Fabien Pennequin Date: Sun, 17 Jul 2011 19:39:55 +0200 Subject: [PATCH] Fixed php notice in ClassMetadataFactory --- lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php index a021f756c..2044932d6 100644 --- a/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php @@ -340,7 +340,7 @@ class ClassMetadataFactory implements ClassMetadataFactoryInterface { // Verify & complete identifier mapping if ( ! $class->identifier && ! $class->isMappedSuperclass) { - throw MappingException::identifierRequired($className); + throw MappingException::identifierRequired($class->name); } // verify inheritance