From 48adfe9bcd379c32593c8122a14194b1dc909304 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 16 Oct 2023 05:59:34 +0200 Subject: [PATCH] Fix regression --- 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 a3027ba28f4..d5a5d4ae967 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -1102,7 +1102,7 @@ if (empty($reshook)) { // Define info_bits $info_bits = 0; - if (preg_match('/\*/', $vat_rate)) { + if (preg_match('/\*/', GETPOST('tva_tx'))) { $info_bits |= 0x01; }