From 66e92b147d6e3671f3982e66e1a3176acfaa70c7 Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Tue, 28 Jun 2011 22:30:17 +0200 Subject: [PATCH] Minor spelling mistake, thanks Alexandre Mathieu for reporting --- lib/Doctrine/ORM/UnitOfWork.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index 970ade604..2a2ec68c6 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -577,7 +577,7 @@ class UnitOfWork implements PropertyChangedListener . $assoc['sourceEntity'] . "#" . $assoc['fieldName'] . "' that was not" . " configured to cascade persist operations for entity: " . self::objToStr($entry) . "." . " Explicitly persist the new entity or configure cascading persist operations" - . " on the relationship. If you cannot find out which entity casues the problem" + . " on the relationship. If you cannot find out which entity causes the problem" . " implement '" . $assoc['targetEntity'] . "#__toString()' to get a clue."); } $this->persistNew($targetClass, $entry);