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_select.php')
-rw-r--r--tbl_select.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tbl_select.php b/tbl_select.php
index 5366250331..914b547157 100644
--- a/tbl_select.php
+++ b/tbl_select.php
@@ -53,7 +53,9 @@ if (! isset($_POST['columnsToDisplay']) && ! isset($_POST['displayAllColumns']))
include_once 'libraries/tbl_info.inc.php';
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
$err_url = $goto . PMA_URL_getCommon(array('db' => $db, 'table' => $table));