From: <tim...@us...> - 2010-10-14 07:21:10
|
Revision: 4097 http://web-erp.svn.sourceforge.net/web-erp/?rev=4097&view=rev Author: tim_schofield Date: 2010-10-14 07:21:04 +0000 (Thu, 14 Oct 2010) Log Message: ----------- Fix bug preventing download of ECB rates Modified Paths: -------------- trunk/doc/Change.log.html trunk/includes/MiscFunctions.php Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-10-13 09:13:10 UTC (rev 4096) +++ trunk/doc/Change.log.html 2010-10-14 07:21:04 UTC (rev 4097) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>14/10/10 Tim: MiscFunctions.php - Fix bug preventing download of ECB rates</p> <p>13/10/10 Tim: WWW_Users.php - Show the last visit date correctly. Fixes bug 3085860</p> <p>09/10/10 Phil: Added xmlrpc_GetStockCategoryList api method</p> <p>04/10/10 Matt Taylor: upgrade3.11.1-3.12.sql - Update tables to utf8</p> Modified: trunk/includes/MiscFunctions.php =================================================================== --- trunk/includes/MiscFunctions.php 2010-10-13 09:13:10 UTC (rev 4096) +++ trunk/includes/MiscFunctions.php 2010-10-14 07:21:04 UTC (rev 4097) @@ -145,7 +145,7 @@ function GetECBCurrencyRates () { /* See http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html for detail of the European Central Bank rates - published daily */ - if (file_exists('http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml')) { + if (http_file_exists('http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml')) { $xml = file_get_contents('http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml'); $parser = xml_parser_create(); xml_parser_set_option($parser, XML_OPTION_CASE_FOLDING, 0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |