From 5218a43a4272cb2e71e95d6a1cb6eab7bdbe2970 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 28 Apr 2023 18:59:12 +0200 Subject: [PATCH] FIX Click on "NEW" in simple POS was broken --- htdocs/cashdesk/affContenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/cashdesk/affContenu.php b/htdocs/cashdesk/affContenu.php index d8e31f3b9c9..20f5132bb02 100644 --- a/htdocs/cashdesk/affContenu.php +++ b/htdocs/cashdesk/affContenu.php @@ -26,7 +26,7 @@ require_once 'class/Facturation.class.php'; // Si nouvelle vente, reinitialisation des donnees (destruction de l'objet et vidage de la table contenant la liste des articles) -if (GETPOST('id', 'int') == 'NOUV') { +if (GETPOST('id', 'aZ09') == 'NOUV') { unset($_SESSION['serObjFacturation']); unset($_SESSION['poscart']); }