bug #1530574, misaligned HTML when db_collation is empty

This commit is contained in:
Marc Delisle
2006-08-04 17:33:30 +00:00
parent c0e3385e69
commit 8e75f5f630
2 changed files with 7 additions and 3 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2006-08-04 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_operations.php, libraries/export/sql.php:
bug #1526000, copying table to another db (MYSQL 5.0.24)
* db_details_structure.php: bug #1530574, misaligned HTML
when db_collation is empty
2006-08-03 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/dbi/mysqli.dbi.lib.php PMA_DBI_try_query(): do not force

View File

@@ -408,12 +408,14 @@ if (!($cfg['PropertiesNumColumns'] > 1)) {
echo ' <th align="center">' . "\n"
. ' <dfn title="'
. sprintf($strDefaultEngine, $default_engine) . '">' .$default_engine . '</th>' . "\n";
// we got a case where $db_collation was empty
echo ' <th align="center">' . "\n";
if (! empty($db_collation)) {
echo ' <th align="center">' . "\n"
. ' <dfn title="'
echo ' <dfn title="'
. PMA_getCollationDescr($db_collation) . ' (' . $strDefault . ')">' . $db_collation
. '</dfn></th>';
. '</dfn>';
}
echo '</th>';
}
if ($is_show_stats) {