Skip to content

Commit

Permalink
bug #1814679 [display] Database selection pagination when switching s…
Browse files Browse the repository at this point in the history
…ervers
  • Loading branch information
lem9 committed Jan 1, 2008
1 parent 5c90ac9 commit c464754
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -24,6 +24,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #1783620 [parser] Subquery results without "as" are ignored
- bug #1821264 [display] MaxTableList and INFORMATION_SCHEMA
- bug #1859460 [display] Operations and many databases
- bug #1814679 [display] Database selection pagination when switching servers

2.11.3.0 (2007-12-08)
- patch #1818389 to remove a notice (failed to flush buffer), thanks to
Expand Down
8 changes: 8 additions & 0 deletions libraries/common.inc.php
Expand Up @@ -847,6 +847,14 @@
require_once './libraries/List_Database.class.php';
$PMA_List_Database = new PMA_List_Database($userlink, $controllink);

/**
* some resetting has to be done when switching servers
*/
if (isset($_SESSION['previous_server']) && $_SESSION['previous_server'] != $GLOBALS['server']) {
unset($_SESSION ['navi_limit_offset']);
}
$_SESSION['previous_server'] = $GLOBALS['server'];

} // end server connecting

/**
Expand Down

0 comments on commit c464754

Please sign in to comment.