diff --git a/htdocs/fourn/facture/card-rec.php b/htdocs/fourn/facture/card-rec.php index 8ba6c8be50e3f..7d6e4c1b7727d 100644 --- a/htdocs/fourn/facture/card-rec.php +++ b/htdocs/fourn/facture/card-rec.php @@ -778,7 +778,7 @@ $special_code = 3; } - $remise_percent = price2num(GETPOST('remise_percent'), '', 2); + $remise_percent = price2num(GETPOST('remise_percent'), '', 2) ?: 0; // Check minimum price $productid = GETPOST('productid', 'int');