diff --git a/plugins/table-indexes-structure.php b/plugins/table-indexes-structure.php index 5c3f7f92..e7013cb1 100644 --- a/plugins/table-indexes-structure.php +++ b/plugins/table-indexes-structure.php @@ -10,9 +10,9 @@ class AdminerTableIndexesStructure extends Adminer\Plugin { function tableIndexesPrint($indexes, $tableStatus): bool { echo "\n"; - echo "\n"; + echo "\n"; foreach ($indexes as $name => $index) { - echo "
" . Adminer\lang('Name') . "" . Adminer\lang('Type') . "" . Adminer\lang('Columns') . "
" . Adminer\lang('Name') . "" . Adminer\lang('Type') . "" . Adminer\lang('Algorithm') . "" . Adminer\lang('Columns') . "
" . Adminer\h($name) . "" . $index['type']; + echo "
" . Adminer\h($name) . "$index[type]$index[algorithm]"; ksort($index["columns"]); // enforce correct columns order $print = array(); foreach ($index["columns"] as $key => $val) {