Skip to content

Commit f649582

Browse files
committed
#33334:Inheriting from a class that doesn't exist
- Changed PRICE_CODE constant from non-exist class to $this class
1 parent bf4cdad commit f649582

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Bundle/Pricing/Price/ConfiguredPrice.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function getValue()
148148
$configuredOptionsAmount = $this->getConfiguredAmount()->getBaseAmount();
149149
return parent::getValue() +
150150
$this->priceInfo
151-
->getPrice(BundleDiscountPrice::PRICE_CODE)
151+
->getPrice(self::PRICE_CODE)
152152
->calculateDiscount($configuredOptionsAmount);
153153
}
154154
return parent::getValue();

0 commit comments

Comments
 (0)