Browse Source

Merge pull request #24571 from erikvanberkum/develop

fix: typo in constant MAIN_AUTOFILL_DATE_ORDER
Laurent Destailleur 2 years ago
parent
commit
c960bb73da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      htdocs/commande/card.php

+ 1 - 1
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