diff --git a/ChangeLog b/ChangeLog index 948650a72..1e2fcc68d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ $Source$ * css/phpmyadmin.css.php: bug #1517428, some IE 6 versions have problems loading CSS when zlip.output_compression is on, thanks to Juergen Wind + * db_details_export.php: select all tables by default to reflect + the default export behavior 2006-10-12 Marc Delisle * tbl_change.php: bug #1566219, automated timestamp values diff --git a/db_details_export.php b/db_details_export.php index 8ceea1f3f..6e415260a 100644 --- a/db_details_export.php +++ b/db_details_export.php @@ -40,12 +40,12 @@ foreach ( $tables as $each_table ) { // Don't offer to export views yet. continue; } - if ( ! empty( $selectall ) + if ( ! empty( $unselectall ) || ( isset( $tmp_select ) && false !== strpos( $tmp_select, '|' . $each_table['Name'] . '|') ) ) { - $is_selected = ' selected="selected"'; - } else { $is_selected = ''; + } else { + $is_selected = ' selected="selected"'; } $table_html = htmlspecialchars( $each_table['Name'] ); $multi_values .= '