Преглед изворни кода

Ticket #4302 - Payments: Add possibility to override shopping cart content.

AntonLV пре 3 година
родитељ
комит
557ba96fb2
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/boonex/payment/classes/BxPaymentCart.php

+ 1 - 1
modules/boonex/payment/classes/BxPaymentCart.php

@@ -321,7 +321,7 @@ class BxPaymentCart extends BxBaseModPaymentCart
         $fItemsPrice = 0;
         $aItemsInfo = array();
         foreach($aItems as $aItem) {
-            $aCustom = isset($aItem['custom']) ? $aItem['custom'] : array(123);
+            $aCustom = isset($aItem['custom']) ? $aItem['custom'] : [];
 
             //--- Get item main info
             $aItemInfo = $this->_oModule->callGetCartItem((int)$aItem['module_id'], array($aItem['item_id'], $iClientId, $aCustom));