Fix notice about undefined index (bug #780861).

This commit is contained in:
Michal Čihař
2003-08-14 18:30:16 +00:00
parent 5b948365b4
commit 3c4f25ef57
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2003-08-14 Michal Cihar <nijel@users.sourceforge.net>
* server_privileges.php3: Fix notice about undefined index (bug #780861).
2003-08-13 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php3: do not check both radios (confuses Netscape 4.8)

View File

@@ -516,7 +516,7 @@ function PMA_displayLoginInformationFields($mode = 'new', $indent = 0)
. $spaces . ' </select>' . "\n"
. $spaces . ' </td>' . "\n"
. $spaces . ' <td bgcolor="' . $cfg['BgcolorTwo'] . '">' . "\n"
. $spaces . ' <input type="text" class="textfield" name="hostname" value="' . $GLOBALS['hostname'] . '" class="textfield" title="' . $GLOBALS['strHost'] . '" onchange="pred_hostname.value = \'userdefined\';" />' . "\n"
. $spaces . ' <input type="text" class="textfield" name="hostname" value="' . ( isset($GLOBALS['hostname']) ? $GLOBALS['hostname'] : '' ) . '" class="textfield" title="' . $GLOBALS['strHost'] . '" onchange="pred_hostname.value = \'userdefined\';" />' . "\n"
. $spaces . ' </td>' . "\n"
. $spaces . '</tr>' . "\n"
. $spaces . '<tr>' . "\n"