Fix: Le test pour viter un total faut quand plusieurs page ne fonctionnait pas.
This commit is contained in:
parent
75b55c9744
commit
0ce660fbb2
@ -1768,7 +1768,7 @@ else
|
||||
$i++;
|
||||
}
|
||||
|
||||
if ($num <= $limit) {
|
||||
if (($offset + $num) <= $limit) {
|
||||
// Print total
|
||||
print '<tr class="liste_total">';
|
||||
print '<td class="liste_total" colspan="3" align="left">'.$langs->trans("Total").'</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user