diff --git a/app/code/community/Retailcrm/Retailcrm/Model/Order.php b/app/code/community/Retailcrm/Retailcrm/Model/Rugento similarity index 99% rename from app/code/community/Retailcrm/Retailcrm/Model/Order.php rename to app/code/community/Retailcrm/Retailcrm/Model/Rugento index 2fb17e0..5706ca9 100644 --- a/app/code/community/Retailcrm/Retailcrm/Model/Order.php +++ b/app/code/community/Retailcrm/Retailcrm/Model/Rugento @@ -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()