From 0fbaad635a8487c81254db7bc527bb7d2ae504f4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 10 Feb 2025 21:39:55 +0100 Subject: [PATCH] Update html.formmargin.class.php --- htdocs/core/class/html.formmargin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/html.formmargin.class.php b/htdocs/core/class/html.formmargin.class.php index 9574caf010e..a18d28b9f32 100644 --- a/htdocs/core/class/html.formmargin.class.php +++ b/htdocs/core/class/html.formmargin.class.php @@ -99,7 +99,7 @@ class FormMargin $line->pa_ht = $line->subprice * (1 - ($line->remise_percent / 100)); } - $pv = (float)$line->total_ht; + $pv = (float) $line->total_ht; // $line->pa_ht is always positive in database, so we guess the correct sign