diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 0afcdbad..630c7b7a 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -301,6 +301,10 @@ if (!$columns) { } $result->free(); } + $table_names = array_keys($backward_keys); + if ($table_names) { + $table_names = array_combine($table_names, array_map('adminer_table_name', array_map('table_status', $table_names))); + } echo "
"; @@ -362,7 +366,7 @@ if (!$columns) { echo where_link($i, $column, $rows[$n][$val]); $i++; } - echo '">' . adminer_table_name(table_status($table)) . ''; + echo "\">$table_names[$table]"; } } } |