fix multi-server login bug introduced in revision 10855; ensure that the new _form_params are really used by the called function; missing doc for PMA_generate_common_hidden_inputs()

This commit is contained in:
Marc Delisle
2007-10-26 17:08:12 +00:00
parent 518cb592e5
commit f1a266c778
2 changed files with 6 additions and 1 deletions

View File

@@ -284,7 +284,9 @@ if (top != self) {
if (! empty($GLOBALS['table'])) {
$_form_params['table'] = $GLOBALS['table'];
}
echo PMA_generate_common_hidden_inputs();
// do not generate a "server" hidden field as we want the "server"
// drop-down to have priority
echo PMA_generate_common_hidden_inputs($_form_params, '', 0, 'server');
?>
</fieldset>
</form>