From fe29a89917cb1ff2e63a3aaa590e52c0e3d1fd33 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 --- 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);