diff --git a/lib/Doctrine/ORM/Tools/SchemaValidator.php b/lib/Doctrine/ORM/Tools/SchemaValidator.php index 8b5741eac..8f59ea72d 100644 --- a/lib/Doctrine/ORM/Tools/SchemaValidator.php +++ b/lib/Doctrine/ORM/Tools/SchemaValidator.php @@ -233,7 +233,7 @@ class SchemaValidator continue; } if ($targetMetadata->isCollectionValuedAssociation($orderField)) { - $ce[] = "The association " . $class->name."#".$fieldName." is ordered by an field " . + $ce[] = "The association " . $class->name."#".$fieldName." is ordered by a field " . $orderField . " on " . $targetMetadata->name . " that is a collection-valued association."; continue; }