diff --git a/tbl_operations.php b/tbl_operations.php index b80f4471c5..686df60abf 100644 --- a/tbl_operations.php +++ b/tbl_operations.php @@ -122,6 +122,10 @@ if (isset($_REQUEST['submitoptions'])) { ); } + // Reselect the original DB + $GLOBALS['db'] = $oldDb; + $GLOBALS['dbi']->selectDb($oldDb); + $_message .= $pma_table->getLastMessage(); $result = true; $GLOBALS['table'] = $pma_table->getName();