Skip to content

Commit efc050b

Browse files
authored
ENGCOM-3772: hardcoded table name #20027
2 parents 0ab44d0 + 6a22d14 commit efc050b

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)