no selected page number

This commit is contained in:
Marc Delisle
2006-04-13 17:12:52 +00:00
parent 951ea7cdfa
commit 422712289a
2 changed files with 5 additions and 2 deletions

View File

@@ -177,7 +177,7 @@ if ($databases_count > 0) {
echo PMA_pageselector(
'server_databases.php' . PMA_generate_common_url($_url_params) . '&',
$GLOBALS['cfg']['MaxDbList'],
floor($pos+1 / $GLOBALS['cfg']['MaxDbList']) + 1,
floor(($pos + 1) / $GLOBALS['cfg']['MaxDbList']) + 1,
ceil($databases_count / $GLOBALS['cfg']['MaxDbList']));
echo '</form>';