diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index 5d4f6346af3..731480db581 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -2663,10 +2663,7 @@ if ($action == 'create') {
//print '
| '.$langs->trans("OrderDate").' | ';
$date_com = dol_mktime(GETPOST('rehour', 'int'), GETPOST('remin', 'int'), GETPOST('resec', 'int'), GETPOST('remonth', 'int'), GETPOST('reday', 'int'), GETPOST('reyear', 'int'));
- if (empty($date_com)) {
- $date_com = dol_now();
- }
- print $form->selectDate($date_com, '', 1, 1, '', "commande", 1, 1);
+ print $form->selectDate($date_com ?: '', '', 0, 0, '', "commande", 1, 1);
print ' |
';
// Force mandatory order method