From 20b51db72c19f65edf6f742aa0e3b58b07cb35b7 Mon Sep 17 00:00:00 2001 From: Erik van Berkum Date: Sun, 23 Apr 2023 14:54:12 +0900 Subject: [PATCH] Revert "fix: typo in constant MAIN_AUTOFILL_DATE_ORDER" This reverts commit 9a27d025a759a5fb6c69e7e2020e96bf6e39d648. --- htdocs/commande/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 4b491344c2f..a005a0fb642 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -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