The main db details page couldn't be reached with an empty database
This commit is contained in:
@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-05-02 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* lang/*.inc.php3: cleanup.
|
||||
* db_details.php3, line 38; db_details_links.php3, line 41: the start db
|
||||
details page couldn't be reached with an empty database.
|
||||
|
||||
2002-05-02 Alexander M. Turek <rabus@users.sourceforge.net>
|
||||
* tbl_properties_export.php3, lang/*.inc.php3: Clarified the interface.
|
||||
* lang/italian.inc.php3: Updates, thanks again to
|
||||
|
@@ -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();
|
||||
|
@@ -38,7 +38,7 @@ else {
|
||||
?>
|
||||
<p>
|
||||
[
|
||||
<a href="db_details.php3?<?php echo $url_query; ?>">
|
||||
<a href="db_details.php3?<?php echo $url_query; ?>&db_query_force=1">
|
||||
<b><?php echo $strHome; ?></b></a> |
|
||||
<a href="db_details_structure.php3?<?php echo $url_query; ?>">
|
||||
<b><?php echo $strStructure; ?></b></a> |
|
||||
|
Reference in New Issue
Block a user