From bf7be58e109a968c382c0b692a7dc0c9814857d7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 20 Nov 2025 20:59:37 +0100 Subject: [PATCH] Fix CI --- htdocs/core/tpl/list_print_total.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/tpl/list_print_total.tpl.php b/htdocs/core/tpl/list_print_total.tpl.php index 474a8ec34f1..15a8f1fb9a1 100644 --- a/htdocs/core/tpl/list_print_total.tpl.php +++ b/htdocs/core/tpl/list_print_total.tpl.php @@ -82,7 +82,7 @@ if (isset($totalarray['pos'])) { printTotalValCell($totalarray['type'][$i] ?? '', empty($totalarray['val'][$totalarray['pos'][$i]]) ? 0 : $totalarray['val'][$totalarray['pos'][$i]]); } else { if ($i == 1) { - if ((!isset($limit) || is_null($limit) || $num < $limit) && empty($offset)) { + if ((!isset($limit) || $num < $limit) && empty($offset)) { print ''.$langs->trans("Total").''; } else { print '';