diff options
author | Piotr Przybylski <piotrprz@gmail.com> | 2011-06-26 20:32:20 +0400 |
---|---|---|
committer | Piotr Przybylski <piotrprz@gmail.com> | 2011-06-26 20:32:20 +0400 |
commit | d4d647e169202056886abb3591c7efb21c7f13cc (patch) | |
tree | 247ce10fb971a3a5d2a777bdb4193336a158b60d /db_operations.php | |
parent | 7d99d57ccafc9be02f34def4b44de33da6731de5 (diff) | |
parent | 3c55511e5c81d479575f9527a0e5b2267440c872 (diff) |
Merge remote-tracking branch 'origin/master' into drizzle
Diffstat (limited to 'db_operations.php')
-rw-r--r-- | db_operations.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/db_operations.php b/db_operations.php index 8ad23b763b..f8143bbf8e 100644 --- a/db_operations.php +++ b/db_operations.php @@ -243,9 +243,10 @@ if (strlen($db) && (! empty($db_rename) || ! empty($db_copy))) { PMA_DBI_query($tmp_query); } } - } - // go back to current db, just in case - PMA_DBI_select_db($db); + } + + // go back to current db, just in case + PMA_DBI_select_db($db); // Duplicate the bookmarks for this db (done once for each db) if (! $_error && $db != $newname) { |