From c43fb72fa0dfe76db04c7b39e016e4aebf8c7bb5 Mon Sep 17 00:00:00 2001 From: Ulrich Date: Wed, 13 Sep 2017 20:26:04 +0200 Subject: [PATCH] fixed google converter url --- gourl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gourl.php b/gourl.php index d02a390..72dbb75 100644 --- a/gourl.php +++ b/gourl.php @@ -6409,7 +6409,7 @@ function gourl_convert_currency($from_Currency, $to_Currency, $amount) if ($arr && isset($arr["price"]) && $arr["price"] > 0 && isset($arr["time"]) && ($arr["time"] + 0.5*60*60) > strtotime("now")) return round($arr["price"]*$amount, ($to_Currency=="BTC"?5:2)); - $url = "https://www.google.com/finance/converter?a=1&from=".$from_Currency."&to=".$to_Currency; + $url = "https://finance.google.com/finance/converter?a=1&from=".$from_Currency."&to=".$to_Currency; $ch = curl_init(); $timeout = 20; @@ -7441,4 +7441,4 @@ function has_shortcode( $content, $tag ) { return false; } -} \ No newline at end of file +}