patch #2242765 [core] Navi panel server links wrong

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

View File

@@ -7,6 +7,10 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
3.2.0.0 (not yet released)
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
- bug #2046883 [core] Notices about deprecated dl() (so stop using it)

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