Merge remote-tracking branch 'origin/master'

This commit is contained in:
Pootle server 2011-09-29 12:40:15 +02:00
commit c1c4d634a5

View File

@ -526,8 +526,12 @@ class PMA_User_Schema
echo '<div id="table_' . $i . '" class="pdflayout_table"><u>' . $temp_sh_page['table_name'] . '</u>';
if (isset($with_field_names)) {
$fields = PMA_DBI_get_columns($db, $temp_sh_page['table_name']);
foreach ($fields as $row) {
echo '<br />' . htmlspecialchars($row['Field']) . "\n";
// if the table has been dropped from outside phpMyAdmin,
// we can no longer obtain its columns list
if ($fields) {
foreach ($fields as $row) {
echo '<br />' . htmlspecialchars($row['Field']) . "\n";
}
}
}
echo '</div>' . "\n";