bug #3042706 [pmadb] Relations, bookmarks, etc deleted after table drop

This commit is contained in:
Marc Delisle
2010-08-10 17:55:04 -04:00
parent 789d3a4131
commit dda6de20d2
4 changed files with 8 additions and 2 deletions

View File

@@ -106,7 +106,10 @@ if (empty($GLOBALS['is_header_sent'])) {
$GLOBALS['strDatabase'],
's_db.png');
if (strlen($GLOBALS['table'])) {
// if the table is being dropped, $_REQUEST['purge'] is set
// (it always contains "1")
// so do not display the table name in upper div
if (strlen($GLOBALS['table']) && ! (isset($_REQUEST['purge']))) {
require_once './libraries/tbl_info.inc.php';
echo $separator;