Skip to content

Commit

Permalink
bug #1760447, goto last page problem
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed Jul 27, 2007
1 parent b6af0de commit c14228f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libraries/common.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -2237,6 +2237,9 @@ function PMA_listNavigator($count, $pos, $_url_params, $script, $frame, $max_cou
. PMA_generate_common_url($_url_params) . '" target="' . $frame . '">'
. $caption3 . '</a>';
$_url_params['pos'] = floor($count / $max_count) * $max_count;
if ($_url_params['pos'] == $count) {
$_url_params['pos'] = $count - $max_count;
}
echo '<a' . $title4 . ' href="' . $script
. PMA_generate_common_url($_url_params) . '" target="' . $frame . '">'
. $caption4 . '</a>';
Expand Down

0 comments on commit c14228f

Please sign in to comment.