Skip to content

Commit

Permalink
OX6-164 - Fixed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
FatchipRobert committed Nov 19, 2024
1 parent 8351b1d commit d448b47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/fcporequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ protected function _fcpoAddBasketItemsFromSession($sDeliverySetId = false)
}

$sGiftcardCosts = $this->_fcpoFetchCostsFromBasket($oBasket, 'oxgiftcard');
$sGiftcardCosts = (double) str_replace(',', '.', $sWrappingCosts);
$sGiftcardCosts = (double) str_replace(',', '.', $sGiftcardCosts);
if ($sGiftcardCosts > 0) {
$this->addInvoicePosition($iIndex, 'giftcard', $sGiftcardCosts, 'goods', 1, $oLang->translateString('FCPO_GIFTCARD', null, false), $this->_fcpoFetchVatCostsFromBasket($oBasket, 'oxgiftcard'));
$iIndex++;
Expand Down

0 comments on commit d448b47

Please sign in to comment.