diff --git a/app/code/community/Philwinkle/Fixerio/Model/Import.php b/app/code/community/Philwinkle/Fixerio/Model/Import.php index ac1c7f6..fe77ce4 100644 --- a/app/code/community/Philwinkle/Fixerio/Model/Import.php +++ b/app/code/community/Philwinkle/Fixerio/Model/Import.php @@ -83,7 +83,7 @@ protected function _convert($currencyFrom, $currencyTo, $retry = 0) ->setUri($url) ->setConfig(array('timeout' => Mage::getStoreConfig('currency/fixerio/timeout'))) ->request('GET') - ->getBody(); + ->getRowBody(); /** Second parameter is objectDecodeType - Zend_Json::TYPE_ARRAY, or Zend_Json::TYPE_OBJECT */ $converted = Mage::helper('core')->jsonDecode($response, Zend_Json::TYPE_ARRAY);