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
01-14-2014, 04:57 PM (This post was last modified: 01-14-2014 04:59 PM by phil.)
Post: #2
RE: Currencies.php still going to internet for rates even when set to manual
role on Tim :-)

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
01-14-2014, 08:39 PM
Post: #3
RE: Currencies.php still going to internet for rates even when set to manual
Thanks Phil, lucky that after you rather childishly banned me from reading the web-erp-svn mailing list someone had the common sense to put an automatic forward to me on their mails from that list, otherwise I probably wouldn't have bothered keeping on top of all your bugs Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
01-15-2014, 04:38 PM (This post was last modified: 01-15-2014 04:40 PM by phil.)
Post: #4
RE: Currencies.php still going to internet for rates even when set to manual
   
I guess your sourceforge login must be cancelled too - not my doing though of course I could understand why

Phil Daintree
webERP Admin
Logic Works Ltd
http://www.logicworks.co.nz
Visit this user's website Find all posts by this user
Quote this message in a reply
01-15-2014, 06:41 PM
Post: #5
RE: Currencies.php still going to internet for rates even when set to manual
Not sure I understand what you are saying Phil.

Are you saying you have re-instated my access to the web-erp-svn mailing list?

I am still just getting the automated copies through? I think the picture you published above is from the users or the developers mailing lists. Perhaps you would like to check again?

Thanks
Tim
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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