Merge pull request #1694 from devenbansod/657C
RFE#657 Correction : Reselect Original DB after Renaming Table
This commit is contained in:
commit
5f1d65f84c
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user