diff options
Diffstat (limited to 'tbl_zoom_select.php')
-rw-r--r-- | tbl_zoom_select.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tbl_zoom_select.php b/tbl_zoom_select.php index 2f0e738abd..3efcfb574e 100644 --- a/tbl_zoom_select.php +++ b/tbl_zoom_select.php @@ -97,7 +97,9 @@ $url_query .= '&goto=tbl_select.php&back=tbl_select.php'; require_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)); |