1
0
mirror of synced 2024-11-21 20:46:06 +03:00

Merge pull request #5 from Rugento/patch-2

Update Order.php
This commit is contained in:
Alex Lushpai 2017-05-18 13:10:47 +03:00 committed by GitHub
commit f838099bb0

View File

@ -321,7 +321,7 @@ class Retailcrm_Retailcrm_Model_Order extends Retailcrm_Retailcrm_Model_Exchange
protected function prepareOrder($order)
{
$config = Mage::getModel('retailcrm/settings', $order->getStoreId());
$config = Mage::getModel('retailcrm/settings', ['storeId' => $order->getStoreId()]);
$address = $order->getShippingAddress();
$orderItems = $order->getItemsCollection()