From 5248d0bba50d82d2e135fc42c7c8ab3477e9619c Mon Sep 17 00:00:00 2001 From: ldestailleur Date: Fri, 25 Jul 2025 03:22:53 +0200 Subject: [PATCH] Fix default value of currency update --- htdocs/core/modules/modMultiCurrency.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/modules/modMultiCurrency.class.php b/htdocs/core/modules/modMultiCurrency.class.php index e7d2ded797a..607cb67468e 100644 --- a/htdocs/core/modules/modMultiCurrency.class.php +++ b/htdocs/core/modules/modMultiCurrency.class.php @@ -154,7 +154,7 @@ class modMultiCurrency extends DolibarrModules 'parameters' => '0,0,cron', 'comment' => 'Update all the currencies using the currencylayer API. An API key needs to be given in the multi-currency module config page to have this job working.
First param is not used, Second parameter is 0 to update only already existing currency defined into the Multicurrency module or 1 to add any currency. Third parameter must be "cron".', 'frequency' => 1, - 'unitfrequency' => 2678400, + 'unitfrequency' => 604800, 'status' => $statusatinstall, 'test' => 'isModEnabled("cron")', 'datestart' => $datestart