Skip to content

Commit 758245a

Browse files
author
Oleksii Lisovyi
committed
Fix line limit issue
1 parent 4ff4b6a commit 758245a

File tree

1 file changed

+2
-1
lines changed
  • app/code/Magento/Catalog/Model/ResourceModel/Product

1 file changed

+2
-1
lines changed

app/code/Magento/Catalog/Model/ResourceModel/Product/Option.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ protected function _saveValuePrices(\Magento\Framework\Model\AbstractModel $obje
172172
foreach ($storeIds as $storeId) {
173173
if ($object->getPriceType() == 'fixed') {
174174
$storeCurrency = $this->_storeManager->getStore($storeId)->getBaseCurrencyCode();
175-
$rate = $this->_currencyFactory->create()->load($websiteBaseCurrency)->getRate($storeCurrency);
175+
$rate = $this->_currencyFactory->create()->load($websiteBaseCurrency)
176+
->getRate($storeCurrency);
176177
if (!$rate) {
177178
$rate = 1;
178179
}

0 commit comments

Comments
 (0)