Projekt

Allgemein

Profil

GX-Bug #58728 » CurrencyUpdateFix1.patch

Till Tepelmann, 31.08.2018 15:46

Unterschiede anzeigen:

src/admin/includes/functions/localization.php (date 1535722985000)
33 33
function getCurrentRate($to, $base = DEFAULT_CURRENCY)
34 34
{
35 35
	// Currency converter. https://exchangeratesapi.io/
36
	$exchangeRatesApi = 'https://exchangeratesapi.io/api/latest?base=' . $base;
36
	$exchangeRatesApi = 'https://api.exchangeratesapi.io/latest?base=' . $base;
37 37
	
38 38
	$ch = curl_init();
39 39
	curl_setopt($ch, CURLOPT_URL, $exchangeRatesApi);
    (1-1/1)