mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Display newlines in column comments (bug #573)
This commit is contained in:
@@ -13,7 +13,7 @@ class AdminerTableStructure {
|
||||
* @return bool
|
||||
*/
|
||||
function tableStructurePrint($fields) {
|
||||
echo "<table cellspacing='0'>\n";
|
||||
echo "<table cellspacing='0' class='nowrap'>\n";
|
||||
echo "<thead><tr><th>" . lang('Column') . "<th>" . lang('Type') . "<th>" . lang('Nullable') . "<th>" . lang('Default') . (support("comment") ? "<th>" . lang('Comment') : "") . "</thead>\n";
|
||||
foreach ($fields as $field) {
|
||||
echo "<tr" . odd() . "><th>" . h($field["field"]) . ($field["primary"] ? " (PRIMARY)" : "");
|
||||
|
Reference in New Issue
Block a user