From d0213f36d4a8352870ff4c8b6c20465818af3cb6 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Thu, 24 Oct 2013 16:56:14 +0200 Subject: [PATCH] Removed forgotten var_dump(). --- core/lib/Thelia/Controller/Admin/ProductController.php | 4 ---- install/faker.php | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/core/lib/Thelia/Controller/Admin/ProductController.php b/core/lib/Thelia/Controller/Admin/ProductController.php index a7ee65ccd..85f35f398 100644 --- a/core/lib/Thelia/Controller/Admin/ProductController.php +++ b/core/lib/Thelia/Controller/Admin/ProductController.php @@ -279,10 +279,6 @@ class ProductController extends AbstractCrudController $combinationPseForm = new ProductSaleElementUpdateForm($this->getRequest(), "form", $combinationPseData); $this->getParserContext()->addForm($combinationPseForm); - - var_dump($defaultPseData); - - var_dump($combinationPseData); } // Prepare the data that will hydrate the form(s) diff --git a/install/faker.php b/install/faker.php index 60bc2bb81..58a954ebf 100755 --- a/install/faker.php +++ b/install/faker.php @@ -426,6 +426,7 @@ try { $stock->setNewness($faker->randomNumber(0,1)); $stock->setWeight($faker->randomFloat(2, 100,10000)); $stock->setIsDefault($i == 0); + $stock->setEanCode(strtoupper($faker->text(13))); $stock->save(); $productPrice = new \Thelia\Model\ProductPrice();