Undefined index: host
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
9f5ef70d99
commit
59fe5e234d
@ -13,6 +13,7 @@ phpMyAdmin - ChangeLog
|
||||
- issue #11788 Avoid conversion of MySQL error messages
|
||||
- issue #11792 Undefined index: parameters
|
||||
- issue #11802 Undefined index: field_name_orig
|
||||
- issue Undefined index: host
|
||||
|
||||
4.5.3.1 (2015-12-25)
|
||||
- issue #11774 Undefined offset 2
|
||||
|
||||
@ -167,6 +167,9 @@ class PMA_Menu
|
||||
$retval = '';
|
||||
$tbl_is_view = $GLOBALS['dbi']->getTable($this->_db, $this->_table)
|
||||
->isView();
|
||||
if (empty($GLOBALS['cfg']['Server']['host'])) {
|
||||
$GLOBALS['cfg']['Server']['host'] = '';
|
||||
}
|
||||
$server_info = ! empty($GLOBALS['cfg']['Server']['verbose'])
|
||||
? $GLOBALS['cfg']['Server']['verbose']
|
||||
: $GLOBALS['cfg']['Server']['host'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user