From ec9fb80c02aa55e372aeab3e18114131e8f3f0e6 Mon Sep 17 00:00:00 2001 From: Erik van Berkum Date: Sun, 23 Apr 2023 14:55:10 +0900 Subject: [PATCH] fix: typo in constant MAIN_AUTOFILL_DATE_ORDER --- 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 a005a0fb642..4b491344c2f 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_ODER) ?-1 : '') : $dateorder); + $dateorder = (empty($dateinvoice) ? (empty($conf->global->MAIN_AUTOFILL_DATE_ORDER) ?-1 : '') : $dateorder); } } else { // For compatibility