bug #4057 db/table query string parameters no longer work

Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
This commit is contained in:
Madhura Jayaratne 2014-11-19 15:48:37 +05:30
parent 8252099d9d
commit 99ef493ebb
2 changed files with 12 additions and 0 deletions

View File

@ -13,6 +13,7 @@ phpMyAdmin - ChangeLog
- bug #4599 Input field unnecessarily selected on focus
- bug #4602 Exporting selected rows exports all rows of the query
- bug #4444 No insert statement produced in SQL export for queries with alias
- bug #4057 db/table query string parameters no longer work
4.2.11.0 (2014-10-31)
- bug ReferenceError: Table_onover is not defined

View File

@ -53,6 +53,17 @@ if (! empty($_REQUEST['target'])
exit;
}
if (! empty($_REQUEST['db'])) {
$page = null;
if (! empty($_REQUEST['table'])) {
$page = $GLOBALS['cfg']['DefaultTabTable'];
} else {
$page = $GLOBALS['cfg']['DefaultTabDatabase'];
}
include $page;
exit;
}
/**
* Check if it is an ajax request to reload the recent tables list.
*/