diff --git a/ChangeLog b/ChangeLog index 71fc7fcba..a61b64d8f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ $Source$ 2003-06-05 Michal Cihar * libraries/display_export.lib.php3, libraries/functions.js: Some javascript cleanup. + * db_details_links.php3: Display Query tab even with no tables. 2003-06-04 Marc Delisle * libraries/sqlparser.lib.php3: bug 592692, pretty printer diff --git a/db_details_links.php3 b/db_details_links.php3 index 008bd0ac7..4f69213b2 100644 --- a/db_details_links.php3 +++ b/db_details_links.php3 @@ -71,12 +71,7 @@ echo PMA_printTab($strStructure, 'db_details_structure.php3', $url_query); echo PMA_printTab($strSQL, 'db_details.php3', $url_query . '&db_query_force=1'); echo PMA_printTab($strExport, $lnk3, $arg3); echo PMA_printTab($strSearch, $lnk4, $arg4); - -// Query by example and dump of the db are only displayed if there is at least -// one table in the db -if ($num_tables > 0) { - echo PMA_printTab($strQBE, 'db_details_qbe.php3', $url_query); -} // end if +echo PMA_printTab($strQBE, ($num_tables > 0) ? 'db_details_qbe.php3' : '', $url_query); // Displays drop link if ($lnk5) {