Fix: Le test pour viter un total faut quand plusieurs page ne fonctionnait pas.

This commit is contained in:
Laurent Destailleur 2005-06-25 23:12:05 +00:00
parent 75b55c9744
commit 0ce660fbb2

View File

@ -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>';