[-] BO : refresh currency rates button fixed
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15450 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
639b1f2368
commit
165d90925d
2 files changed
+4
-4
No files matched your search
@@ -388,10 +388,10 @@ class CurrencyCore extends ObjectModel
|
|||||||
if (!$default_currency = Currency::getDefaultCurrency())
|
if (!$default_currency = Currency::getDefaultCurrency())
|
||||||
return Tools::displayError('No default currency');
|
return Tools::displayError('No default currency');
|
||||||
|
|
||||||
$currencies = Currency::getCurrencies(true);
|
$currencies = Currency::getCurrencies(true, false);
|
||||||
foreach ($currencies as $currency)
|
foreach ($currencies as $currency)
|
||||||
$currency->refreshCurrency($feed->list, $isoCodeSource, $default_currency);
|
if ($currency->id != $default_currency->id)
|
||||||
|
$currency->refreshCurrency($feed->list, $isoCodeSource, $default_currency);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ class AdminCurrenciesControllerCore extends AdminController
|
|||||||
*/
|
*/
|
||||||
public function initProcess()
|
public function initProcess()
|
||||||
{
|
{
|
||||||
if (Tools::isSubmit('submitExchangesRates'))
|
if (Tools::isSubmit('SubmitExchangesRates'))
|
||||||
{
|
{
|
||||||
if ($this->tabAccess['edit'] === '1')
|
if ($this->tabAccess['edit'] === '1')
|
||||||
$this->action = 'exchangeRates';
|
$this->action = 'exchangeRates';
|
||||||
|
|||||||
Reference in new issue
Block a user