Query window: use verbose server name if any
This commit is contained in:
@@ -221,8 +221,8 @@ function PMA_sqlQueryFormInsert($query = '', $is_querywindow = false, $delimiter
|
||||
if (! strlen($GLOBALS['db'])) {
|
||||
// prepare for server related
|
||||
$legend = sprintf($GLOBALS['strRunSQLQueryOnServer'],
|
||||
htmlspecialchars(
|
||||
$GLOBALS['cfg']['Servers'][$GLOBALS['server']]['host']));
|
||||
'"' . htmlspecialchars(
|
||||
! empty($GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose']) ? $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['verbose'] : $GLOBALS['cfg']['Servers'][$GLOBALS['server']]['host']) . '"');
|
||||
} elseif (! strlen($GLOBALS['table'])) {
|
||||
// prepare for db related
|
||||
$db = $GLOBALS['db'];
|
||||
|
Reference in New Issue
Block a user