Skip to content

Commit

Permalink
Use getCouponCode method instead of _getData(), ref #2825 (#2892)
Browse files Browse the repository at this point in the history
  • Loading branch information
sreichel authored Jan 4, 2023
1 parent 5250659 commit 9182521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/core/Mage/Sales/Model/Quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -1998,7 +1998,7 @@ public function prepareRecurringPaymentProfiles()
*/
protected function _validateCouponCode()
{
$code = $this->_getData('coupon_code');
$code = $this->getCouponCode();
if (strlen($code)) {
$addressHasCoupon = false;
$addresses = $this->getAllAddresses();
Expand Down

0 comments on commit 9182521

Please sign in to comment.