mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
MySQL: Hide index algorithm if only one
This commit is contained in:
@@ -368,7 +368,7 @@ class Adminer {
|
||||
}
|
||||
|
||||
echo "<tr title='" . h($name) . "'>";
|
||||
echo "<th>$index[type]" . ($index['algorithm'] != $default_algorithm ? " ($index[algorithm])" : "");
|
||||
echo "<th>$index[type]" . ($default_algorithm && $index['algorithm'] != $default_algorithm ? " ($index[algorithm])" : "");
|
||||
echo "<td>" . implode(", ", $print);
|
||||
echo "\n";
|
||||
}
|
||||
|
Reference in New Issue
Block a user