diff --git a/ChangeLog b/ChangeLog index fd38bc8af..7d842eaff 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,9 @@ $Source$ * server_privileges.php: patch #1249363, remove unneeded wordwrap(), table width should be limited by template if necessary, thanks to Sebastian Mendel - cybot_tm + * server_databases.php: patch #1249371, correct calculation of colspan, + thanks to Sebastian Mendel; + also, $dbstats should contain 0 or 1, not the colspan 2005-08-01 Michal Čihař * lang/czech: Fix bad translation (is was translated to is not :-)), diff --git a/server_databases.php b/server_databases.php index 249412a88..bfd2d38fa 100644 --- a/server_databases.php +++ b/server_databases.php @@ -334,9 +334,9 @@ if (count($statistics) > 0) { . ' ' . "\n"; } if ($is_superuser || $cfg['AllowUserDropDatabase']) { - $common_url_query = PMA_generate_common_url() . '&sort_by=' . $sort_by . '&sort_order=' . $sort_order . '&dbstats=' . (empty($dbstats) ? '10' : '3'); + $common_url_query = PMA_generate_common_url() . '&sort_by=' . $sort_by . '&sort_order=' . $sort_order . '&dbstats=' . (empty($dbstats) ? '0' : '1'); echo ' ' . "\n" - . ' ' . "\n" + . ' ' . "\n" . ' ' . $strWithChecked . '' . "\n" . ' ' . "\n" . ' ' . $strCheckAll