Skip to content

Commit

Permalink
fixed google converter url
Browse files Browse the repository at this point in the history
  • Loading branch information
UlrichBoehm committed Sep 13, 2017
1 parent 03b57ec commit c43fb72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gourl.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -7441,4 +7441,4 @@ function has_shortcode( $content, $tag ) {

return false;
}
}
}

0 comments on commit c43fb72

Please sign in to comment.