We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a508ae5 commit 7f73fa5Copy full SHA for 7f73fa5
app/code/core/Mage/SalesRule/Model/Validator.php
@@ -465,10 +465,10 @@ public function process(Mage_Sales_Model_Quote_Item_Abstract $item)
465
$discountAmount = $result->getDiscountAmount();
466
$baseDiscountAmount = $result->getBaseDiscountAmount();
467
468
- $percentKey = $item->getDiscountPercent();
469
/**
470
* Process "delta" rounding
471
*/
+ $percentKey = (string) $item->getDiscountPercent();
472
if ($percentKey) {
473
$delta = $this->_roundingDeltas[$percentKey] ?? 0;
474
$baseDelta = $this->_baseRoundingDeltas[$percentKey] ?? 0;
0 commit comments