The main db details page couldn't be reached with an empty database

This commit is contained in:
Loïc Chapeaux
2002-05-02 19:51:52 +00:00
parent 6fa0207fd3
commit 488d4da8dc
3 changed files with 7 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ if (isset($show_query) && $show_query == 'y') {
*/
$sub_part = '';
require('./db_details_db_info.php3');
if ($num_tables == 0) {
if ($num_tables == 0 && empty($db_query_force)) {
$is_info = TRUE;
include('./db_details_structure.php3');
exit();