Skip to content

Commit 9182521

Browse files
author
sv3n
authored
Use getCouponCode method instead of _getData(), ref #2825 (#2892)
1 parent 5250659 commit 9182521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Sales/Model/Quote.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1998,7 +1998,7 @@ public function prepareRecurringPaymentProfiles()
19981998
*/
19991999
protected function _validateCouponCode()
20002000
{
2001-
$code = $this->_getData('coupon_code');
2001+
$code = $this->getCouponCode();
20022002
if (strlen($code)) {
20032003
$addressHasCoupon = false;
20042004
$addresses = $this->getAllAddresses();

0 commit comments

Comments
 (0)