diff options
author | Deven Bansod <devenbansod.bits@gmail.com> | 2015-06-09 20:38:11 +0300 |
---|---|---|
committer | Deven Bansod <devenbansod.bits@gmail.com> | 2015-06-13 02:11:54 +0300 |
commit | edad7fcb3ccf351b8a8aa4d6987f1cf8232aa5c9 (patch) | |
tree | c0a4e1bb28663c660cc615d6a81c8a7c03d4d230 /tbl_select.php | |
parent | 5d35950556d541200e67d181d68af6d95aa6f4f2 (diff) |
Replace script names as config options with plain english words
Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
Diffstat (limited to 'tbl_select.php')
-rw-r--r-- | tbl_select.php | 4 |
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)); |