Display Query tab even with no tables.

This commit is contained in:
Michal Čihař
2003-06-05 18:43:19 +00:00
parent 84be37b7d3
commit 52afb827a5
2 changed files with 2 additions and 6 deletions

View File

@@ -12,6 +12,7 @@ $Source$
2003-06-05 Michal Cihar <nijel@users.sourceforge.net>
* 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 <lem9@users.sourceforge.net>
* libraries/sqlparser.lib.php3: bug 592692, pretty printer

View File

@@ -71,12 +71,7 @@ echo PMA_printTab($strStructure, 'db_details_structure.php3', $url_query);
echo PMA_printTab($strSQL, 'db_details.php3', $url_query . '&amp;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) {