bug #3488777 [navi] $cfg['ShowTooltipAliasTB'] and blank names in navigation
This commit is contained in:
@@ -809,7 +809,9 @@ function PMA_getTableList($db, $tables = null, $limit_offset = 0, $limit_count =
|
||||
|
||||
|
||||
if ($GLOBALS['cfg']['ShowTooltipAliasTB']
|
||||
&& $GLOBALS['cfg']['ShowTooltipAliasTB'] !== 'nested') {
|
||||
&& $GLOBALS['cfg']['ShowTooltipAliasTB'] !== 'nested'
|
||||
&& $table['Comment'] // do not switch if the comment is empty
|
||||
) {
|
||||
// switch tooltip and name
|
||||
$table['disp_name'] = $table['Comment'];
|
||||
$table['Comment'] = $table['Name'];
|
||||
|
Reference in New Issue
Block a user