Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tbl_find_replace.php')
-rw-r--r--tbl_find_replace.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tbl_find_replace.php b/tbl_find_replace.php
index 39eefa48bb..ddc0cea937 100644
--- a/tbl_find_replace.php
+++ b/tbl_find_replace.php
@@ -54,7 +54,9 @@ if (isset($_POST['replace'])) {
}
if (! isset($goto)) {
- $goto = $GLOBALS['cfg']['DefaultTabTable'];
+ $goto = PMA_Util::getScriptNameForOption(
+ $GLOBALS['cfg']['DefaultTabTable'], 'table'
+ );
}
// Defines the url to return to in case of error in the next sql statement
$params = array('db' => $db, 'table' => $table);