Skip to content

Commit

Permalink
patch #2242765 [core] Navi panel server links wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
lem9 committed Nov 21, 2008
1 parent a071113 commit f6a187d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Expand Up @@ -6,6 +6,8 @@ $Id$
$HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyAdmin/ChangeLog $

3.1.1.0 (not yet released)
- patch #2242765 [core] Navi panel server links wrong,
thanks to Martin Stricker - martinstricker

3.1.0.0 (not yet released)
+ [auth] Support for Swekey hardware authentication
Expand Down
4 changes: 3 additions & 1 deletion libraries/url_generating.lib.php
Expand Up @@ -240,7 +240,9 @@ function PMA_generate_common_url()
$separator = PMA_get_arg_separator();

if (isset($GLOBALS['server'])
&& $GLOBALS['server'] != $GLOBALS['cfg']['ServerDefault']) {
&& $GLOBALS['server'] != $GLOBALS['cfg']['ServerDefault']
// avoid overwriting when creating navi panel links to servers
&& ! isset($params['server'])) {
$params['server'] = $GLOBALS['server'];
}

Expand Down

0 comments on commit f6a187d

Please sign in to comment.