From f6a239b8a06b84d38a783f3189fa84ec81de4619 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Wed, 16 Apr 2014 11:53:20 +0200 Subject: [PATCH] Fixed typo in getExistingObject(= --- core/lib/Thelia/Controller/Admin/AttributeAvController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Thelia/Controller/Admin/AttributeAvController.php b/core/lib/Thelia/Controller/Admin/AttributeAvController.php index 4ddf439a2..f4d35479b 100644 --- a/core/lib/Thelia/Controller/Admin/AttributeAvController.php +++ b/core/lib/Thelia/Controller/Admin/AttributeAvController.php @@ -141,7 +141,7 @@ class AttributeAvController extends AbstractCrudController ->findOneById($this->getRequest()->get('attributeav_id', 0)); if (null !== $attributeAv) { - $attribute->setLocale($this->getCurrentEditionLocale()); + $attributeAv->setLocale($this->getCurrentEditionLocale()); } return $attributeAv;