application/models/bestitamazonpay4oxidbasketutil.php
protected function _validateBasket($oBasket)
    {
        $aCurrentContent = $oBasket->getContents();
        $iCurrLang = $this->getLanguage()->getBaseLanguage();

        /** @var oxBasketItem $oContent */
        foreach ($aCurrentContent as $oContent) {
            if ($oContent->getLanguageId() !== $iCurrLang) {
                $oContent->setLanguageId($iCurrLang);
            }
        }
    }
protected function _validateBasket($oBasket)
    {
        $aCurrentContent = $oBasket->getContents();
        $iCurrLang = $this->getLanguage()->getBaseLanguage();

        /** @var oxBasketItem $oContent */
        foreach ($aCurrentContent as $oContent) {
            if ($oContent->getLanguageId() !== $iCurrLang) {
                $oContent->setLanguageId($iCurrLang);
            }
        }
    }
protected function _validateBasket ( $ oBasket ) { $ aCurrentContent = $ oBasket -> getContents ( ) ; $ iCurrLang = $ this -> getLanguage ( ) -> getBaseLanguage ( ) ; /** @var oxBasketItem $oContent */ foreach ( $ aCurrentContent as $ oContent ) { if ( $ oContent -> getLanguageId ( ) !== $ iCurrLang ) { $ oContent -> setLanguageId ( $ iCurrLang ) ; } } }
Validates the basket.

@param oxBasket $oBasket
Validates the basket .