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