From 3dc495216795b3d7a761969cd158e730578e00ae Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 29 Feb 2012 09:27:45 +0000 Subject: [PATCH] // Fix specific price rule display of reduction git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13719 b9a71923-0436-4b27-9f14-aed3839534dd --- controllers/admin/AdminSpecificPriceRuleController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminSpecificPriceRuleController.php b/controllers/admin/AdminSpecificPriceRuleController.php index 8032ca4bd..b066392dc 100755 --- a/controllers/admin/AdminSpecificPriceRuleController.php +++ b/controllers/admin/AdminSpecificPriceRuleController.php @@ -236,7 +236,7 @@ class AdminSpecificPriceRuleControllerCore extends AdminController $this->fields_value = array( 'price' => number_format((($value = $this->getFieldValue($this->object, 'price')) ? $value : 0), 2), 'from_quantity' => (($value = $this->getFieldValue($this->object, 'from_quantity')) ? $value : 1), - 'reduction' => number_format((($value = $this->getFieldValue($this->object, 'from_quantity')) ? $value : 0), 2), + 'reduction' => number_format((($value = $this->getFieldValue($this->object, 'reduction')) ? $value : 0), 2), ); $attribute_groups = array(); $attributes = Attribute::getAttributes((int)$this->context->language->id);