patch #2242765 [core] Navi panel server links wrong

This commit is contained in:
Marc Delisle
2008-11-21 17:57:32 +00:00
parent a0711132f6
commit f6a187d539
2 changed files with 5 additions and 1 deletions

View File

@@ -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

View File

@@ -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'];
}