From 69535cfe421c5f26e77f55cadb9a75a9246bc321 Mon Sep 17 00:00:00 2001 From: Jan Kramer Date: Fri, 11 Jan 2013 07:43:26 +0100 Subject: [PATCH] Fixed broken setter in Form/Util/PropertyPath --- src/Symfony/Component/Form/Util/PropertyPath.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Form/Util/PropertyPath.php b/src/Symfony/Component/Form/Util/PropertyPath.php index 445fae81d5..41acf0d889 100644 --- a/src/Symfony/Component/Form/Util/PropertyPath.php +++ b/src/Symfony/Component/Form/Util/PropertyPath.php @@ -48,10 +48,10 @@ class PropertyPath extends BasePropertyPath /** * Alias for {@link PropertyAccessor::setValue()} */ - public function setValue($objectOrArray, $value) + public function setValue(&$objectOrArray, $value) { $propertyAccessor = PropertyAccess::getPropertyAccessor(); - return $propertyAccessor->getValue($objectOrArray, $this, $value); + return $propertyAccessor->setValue($objectOrArray, $this, $value); } }