Fixed FA2.4.2 error getting exchange rate from Google
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 26 Oct 2017 03:36:30 +0000 (05:36 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 26 Oct 2017 03:36:30 +0000 (05:36 +0200)
gl/includes/db/gl_db_rates.inc

index 9d3c47ca0fd5978e6633aceb23a569ef1951d8f0..fc1060234cbfd758af3627154bdcc6e689701ac2 100644 (file)
@@ -149,7 +149,7 @@ function get_extern_rate($curr_b, $provider = 'ECB', $date)
        elseif ($provider == 'GOOGLE')
        {
                $filename = "/finance/converter?a=1&from={$curr_a}&to={$curr_b}";
-               $site = "www.google.com";
+               $site = "finance.google.com";
        }
        elseif ($provider == 'BLOOMBERG')
        {