X-Git-Url: https://defaria.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=maps%2Fphp%2Flist.php;h=04ba543af68cccb6a00fce8caa95e2899da29ce4;hb=a78a6aab55032721a4e658ebdb32e1305eff7640;hp=9ca33b7eecbf02dd3e5779313ad0ab5744663f76;hpb=e24caf500afdb661a6844649561da5e04b27c493;p=clearscm.git diff --git a/maps/php/list.php b/maps/php/list.php index 9ca33b7..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; ?>