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:
@@ -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>
|
||||
|
@@ -12,8 +12,11 @@
|
||||
* @see PMA_generate_common_url()
|
||||
* @uses PMA_getHiddenFields
|
||||
* @param string optional database name
|
||||
* (can also be an array of parameters)
|
||||
* @param string optional table name
|
||||
* @param int indenting level
|
||||
* @param string do not generate a hidden field for this parameter
|
||||
* (can be an array of strings)
|
||||
*
|
||||
* @return string string with input fields
|
||||
*
|
||||
|
Reference in New Issue
Block a user