Bug in function get_ecb_rate when no function curl_init (missing url part)
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 16 Feb 2009 23:09:51 +0000 (23:09 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 16 Feb 2009 23:09:51 +0000 (23:09 +0000)
CHANGELOG.txt
gl/includes/db/gl_db_rates.inc

index d05ec83c2034482aa94b0cd6fb5a517b5cad39c4..fdaa0c9fbb2cab2d78490704aa06664338955325 100644 (file)
@@ -22,6 +22,8 @@ $ -> Affected files
 16-Feb-2009 Joe Hunt
 # Instruction in update.html should include switch to standard theme before upgrade
 $ update.html
+# Bug in function get_ecb_rate when no function curl_init (missing url part)
+$ /gl/includes/db/gl_db_rates.inc
 
 ------------------------------- Release 2.1.0 beta 2 -------------------------------------------
 15-Feb-2009 Joe Hunt
index 1355e1b72c705a6930f9cc9d68212b7c7a61bae7..0c9ae6863b5d81d572f404ddff4789bbf7c37322 100644 (file)
@@ -97,7 +97,7 @@ function get_ecb_rate($curr_b)
           } while( ($contents == '') && $retry--);
           
        } else {
-               $handle = @fopen($ecb_filename, 'rb');
+               $handle = @fopen("http://".$ecb_site.$ecb_filename, 'rb');
                if ($handle) {
                        do 
                        {