hotfix : idate on create currency

This commit is contained in:
jpb 2020-12-24 09:55:09 +01:00
parent 26a40e30e3
commit 367a038a15

View File

@ -109,7 +109,7 @@ if ($action == "create") {
$currencyRate_static->fk_multicurrency = $fk_currency;
$currencyRate_static->entity = $conf->entity;
$currencyRate_static->date_sync = $dateinput;
$currencyRate_static->date_sync = $db->idate($dateinput);
$currencyRate_static->rate = $rateinput;
$result = $currencyRate_static->create(intval($fk_currency));