From 3e2de0d3855e7cd2f370698e07437343e760de2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Sat, 10 May 2025 23:55:25 +0200 Subject: [PATCH] fix input (#34092) --- htdocs/product/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/card.php b/htdocs/product/card.php index 6f873bd888b..476614ad7da 100644 --- a/htdocs/product/card.php +++ b/htdocs/product/card.php @@ -1712,7 +1712,7 @@ if (is_object($objcanvas) && $objcanvas->displayCanvasExists($canvasdisplayactio if (getDolGlobalString('PRODUCT_USE_UNITS')) { print ''.$langs->trans('DefaultUnitToShow').''; print ''; - print $form->selectUnits(GETPOSTISSET('unit') ? GETPOST('unit', 'alpha') : (GETPOST('unit', 'alpha') ?: '0'), 'units'); + print $form->selectUnits(GETPOSTISSET('units') ? GETPOST('units', 'alpha') : (GETPOST('units', 'alpha') ?: '0'), 'units'); print ''; }