Fix error management
This commit is contained in:
parent
07d1559802
commit
226b1e2488
@ -631,7 +631,7 @@ class MultiCurrency extends CommonObject
|
||||
*/
|
||||
public static function syncRates($response)
|
||||
{
|
||||
global $db,$conf;
|
||||
global $conf, $db, $langs;
|
||||
|
||||
$ch = curl_init('http://apilayer.net/api/live?access_key='.$key.'');
|
||||
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user