2
0
forked from Wavyzz/dolibarr

Revert "fix: typo in constant MAIN_AUTOFILL_DATE_ORDER"

This reverts commit 9a27d025a7.
This commit is contained in:
Erik van Berkum
2023-04-23 14:54:12 +09:00
parent dd60d20019
commit 20b51db72c

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_ORDER) ?-1 : '') : $dateorder);
$dateorder = (empty($dateinvoice) ? (empty($conf->global->MAIN_AUTOFILL_DATE_ODER) ?-1 : '') : $dateorder);
}
} else {
// For compatibility