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

@@ -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) {