Skip to content

Commit

Permalink
Call function as static
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Tuzzolino committed Aug 7, 2020
1 parent 04f4957 commit 8f20f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Catalog/Model/Product/Type/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ protected function _getCustomerGroupId($product)
*/
protected function _applySpecialPrice($product, $finalPrice)
{
return $this->calculateSpecialPrice(
return static::calculateSpecialPrice(
$finalPrice,
$product->getSpecialPrice(),
$product->getSpecialFromDate(),
Expand Down

0 comments on commit 8f20f32

Please sign in to comment.