Post Reply 
 
Thread Rating:
  • 0 Votes - 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
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


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

Forum Jump:


User(s) browsing this thread: 1 Guest(s)