Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Currencies.php still going to internet for rates even when set to manual
01-13-2014, 09:16 PM,
#1
Currencies.php still going to internet for rates even when set to manual
I have sent this one a couple of times before, but maybe sending it publicly will help as we appear to be on something of a role.

Currencies.php will go to the internet for the exchange rates even when the configuration is set to only manually update. This is caused by line 195 of includes/MiscFunctions.php

if ((!isset($CurrenciesArray[$CurrCode]) or !isset($CurrenciesArray[$_SESSION['CompanyRecord']['currencydefault']]))){

which should read

if ((!isset($CurrenciesArray[$CurrCode]) or !isset($CurrenciesArray[$_SESSION['CompanyRecord']['currencydefault']])) and $_SESSION['UpdateCurrencyRatesDaily'] != '0') {

Tim
Reply


Messages In This Thread
Currencies.php still going to internet for rates even when set to manual - by Forums - 01-13-2014, 09:16 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)