Merge pull request #1694 from devenbansod/657C

RFE#657 Correction : Reselect Original DB after Renaming Table
This commit is contained in:
Isaac Bennetch 2015-05-26 08:14:42 -04:00
commit 5f1d65f84c

View File

@ -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();