2
0
forked from Wavyzz/dolibarr

FIX stickler-ci

This commit is contained in:
lvessiller
2022-09-28 11:13:21 +02:00
parent dc3d0c5c2e
commit 4bcd9220e6

View File

@@ -2050,7 +2050,7 @@ if ($action == 'create') {
$currency_tx = $objectsrc->multicurrency_tx;
}
}
$datetmp = dol_mktime(12, 0, 0, GETPOST('remonth', 'int'), GETPOST('reday', 'int'), GETPOST('reyear', 'int'));
$dateinvoice = ($datetmp == '' ? (empty($conf->global->MAIN_AUTOFILL_DATE) ? -1 : '') : $datetmp);
$datetmp = dol_mktime(12, 0, 0, GETPOST('echmonth', 'int'), GETPOST('echday', 'int'), GETPOST('echyear', 'int'));