diff --git a/class/actions_subtotal.class.php b/class/actions_subtotal.class.php index abebe50d..722b4c47 100644 --- a/class/actions_subtotal.class.php +++ b/class/actions_subtotal.class.php @@ -909,7 +909,7 @@ function pdf_add_total(&$pdf,&$object, &$line, $label, $description,$posx, $posy } } - if($total_to_print) { + if($total_to_print !== '') { if (GETPOST('hideInnerLines')) {