Index: branches/5.3.x/units/helpers/frny_currency_rates.php =================================================================== diff -u -N -r15492 -r15925 --- branches/5.3.x/units/helpers/frny_currency_rates.php (.../frny_currency_rates.php) (revision 15492) +++ branches/5.3.x/units/helpers/frny_currency_rates.php (.../frny_currency_rates.php) (revision 15925) @@ -1,6 +1,6 @@ RateSource, adodb_date('Y-m-d', $time)); + $time = time() - $i * 3600 * 24; + $source_file = sprintf($this->RateSource, date('Y-m-d', $time)); $xml = $curl_helper->Send($source_file); $xml_parser = xml_parser_create();