Merge pull request #24571 from erikvanberkum/develop

fix: typo in constant MAIN_AUTOFILL_DATE_ORDER
This commit is contained in:
Laurent Destailleur 2023-04-24 16:16:09 +02:00 committed by GitHub
commit c960bb73da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1653,7 +1653,7 @@ if ($action == 'create' && $usercancreate) {
}
if (!$dateorder) {
// Do not set 0 here (0 for a date is 1970)
$dateorder = (empty($dateinvoice) ? (empty($conf->global->MAIN_AUTOFILL_DATE_ODER) ?-1 : '') : $dateorder);
$dateorder = (empty($dateinvoice) ? (empty($conf->global->MAIN_AUTOFILL_DATE_ORDER) ?-1 : '') : $dateorder);
}
} else {
// For compatibility