fixed an error about whether to display table name or not at the top of the page

This commit is contained in:
Loïc Chapeaux
2001-08-29 08:35:42 +00:00
parent cddde7052c
commit 86d16b6d0c
2 changed files with 9 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ if (isset($btnDrop) && $btnDrop == $strNo) {
$goto = $back;
}
if (file_exists('./' . $goto)) {
if ($goto == 'db_details.php3' && !empty($table)) {
unset($table);
}
include('./' . ereg_replace('\.\.*', '.', $goto));
} else {
header('Location: ' . $cfgPmaAbsoluteUri . $goto);
@@ -233,6 +236,9 @@ else {
if ($goto != 'main.php3') {
include('./header.inc.php3');
}
if ($goto == 'db_details.php3' && !empty($table)) {
unset($table);
}
include('./' . $goto);
} // end if file_exist
else {

View File

@@ -258,6 +258,9 @@ if (!$result) {
mysql_die($error);
} else {
if (file_exists('./' . $goto)) {
if ($goto == 'db_details.php3' && !empty($table)) {
unset($table);
}
include('./header.inc.php3');
$message = $strModifications;
include('./' . ereg_replace('\.\.*', '.', $goto));