Skip to content

Commit 6a22d14

Browse files
ENGCOM-3772: hardcoded table name #20027
- Merge Pull Request #20027 from melaxon/magento2:patch-1 - Merged commits: 1. 9f2f292
2 parents cd1bcb6 + 9f2f292 commit 6a22d14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Directory/Model/ResourceModel/Currency.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ protected function _getRatesByCode($code, $toCurrencies = null)
216216
$connection = $this->getConnection();
217217
$bind = [':currency_from' => $code];
218218
$select = $connection->select()->from(
219-
$this->getTable('directory_currency_rate'),
219+
$this->_currencyRateTable,
220220
['currency_to', 'rate']
221221
)->where(
222222
'currency_from = :currency_from'

0 commit comments

Comments
 (0)