AntonLV 5 лет назад
Родитель
Сommit
6330c551cf
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      modules/boonex/payment/classes/BxPaymentOrders.php

+ 2 - 2
modules/boonex/payment/classes/BxPaymentOrders.php

@@ -140,7 +140,7 @@ class BxPaymentOrders extends BxBaseModPaymentOrders
         return $this->_oModule->_oDb->getOrderPending(array('type' => 'mixed', 'conditions' => $aConditions));
     }
 
-	public function addOrder($aData)
+    public function addOrder($aData)
     {
         $iSellerId = isset($aData['seller_id']) ? (int)$aData['seller_id'] : $this->_oModule->getProfileId();
         if($iSellerId == $aData['client_id'])
@@ -157,7 +157,7 @@ class BxPaymentOrders extends BxBaseModPaymentOrders
 
             $aCartInfo['items_price'] += $this->_oModule->_oConfig->getPrice($aData['type'], $aItem) * $aItem['quantity'];
             $aCartInfo['items'][] = array(
-                'vendor_id' => $iSellerId,
+                'author_id' => $iSellerId,
                 'module_id' => $aData['module_id'],
                 'id' => $aItem['id'],
                 'quantity' => $aItem['quantity']