Merge pull request #11075 from Mavyre/patch-3

Corrected syncRates parameter
This commit is contained in:
Laurent Destailleur 2019-05-02 12:43:13 +02:00 committed by GitHub
commit e80843b9bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -626,10 +626,10 @@ class MultiCurrency extends CommonObject
/**
* Sync rates from api
*
* @param array $response array of reponse from api to sync dolibarr rates
* @param string $key Key to use. Come from $conf->global->MULTICURRENCY_APP_ID.
* @return void
*/
public static function syncRates($response)
public static function syncRates($key)
{
global $conf, $db, $langs;