This commit is contained in:
Laurent Destailleur 2025-11-20 20:59:37 +01:00
parent ae3260eb0b
commit bf7be58e10

View file

@ -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 '<td>'.$langs->trans("Total").'</td>';
} else {
print '<td>';