Skip to content

Commit

Permalink
Fix line limit issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksii Lisovyi committed Apr 11, 2019
1 parent 4ff4b6a commit 758245a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ protected function _saveValuePrices(\Magento\Framework\Model\AbstractModel $obje
foreach ($storeIds as $storeId) {
if ($object->getPriceType() == 'fixed') {
$storeCurrency = $this->_storeManager->getStore($storeId)->getBaseCurrencyCode();
$rate = $this->_currencyFactory->create()->load($websiteBaseCurrency)->getRate($storeCurrency);
$rate = $this->_currencyFactory->create()->load($websiteBaseCurrency)
->getRate($storeCurrency);
if (!$rate) {
$rate = 1;
}
Expand Down

0 comments on commit 758245a

Please sign in to comment.