X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=maps%2Fphp%2Flist.php;h=04ba543af68cccb6a00fce8caa95e2899da29ce4;hb=525b9167625b04ff3560456ec8329d1c640bf22d;hp=b08bf767c616bdccb8abcf7d0853c8a4842d4607;hpb=92a317c3620f3442f9452d834a1ed5f09bdddbf6;p=clearscm.git diff --git a/maps/php/list.php b/maps/php/list.php index b08bf76..04ba543 100755 --- a/maps/php/list.php +++ b/maps/php/list.php @@ -2,13 +2,13 @@ MAPS: Manage List - 0) { $total = CountList ($type); $last = $next + $lines < $total ? $next + $lines : $total; -$last_page = floor ($total / $lines); +$last_page = floor ($total / $lines) + 1; $this_page = $next / $lines + 1; ?>