X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=inline;f=maps%2Fphp%2Flist.php;h=04ba543af68cccb6a00fce8caa95e2899da29ce4;hb=88c9cb9f6ed80dd31981b083593b1746695083b9;hp=1576d965b7b53d416ca21cb34b07145cdbc87163;hpb=de78e21b1817db1ce95008aff35dce56a456d172;p=clearscm.git diff --git a/maps/php/list.php b/maps/php/list.php index 1576d96..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; ?>