Merge remote-tracking branch 'origin/QA_4_5' into QA_4_5

This commit is contained in:
Weblate 2016-01-02 14:51:14 +01:00
commit 464c31b7ce
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

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