bug #2202709 [core] Re-login causes PMA to forget current table name
This commit is contained in:
@@ -11,6 +11,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
- patch #2242765 [core] Navi panel server links wrong,
|
- patch #2242765 [core] Navi panel server links wrong,
|
||||||
thanks to Martin Stricker - martinstricker
|
thanks to Martin Stricker - martinstricker
|
||||||
- bug #2186823 [core] bad session.save_path not detected
|
- bug #2186823 [core] bad session.save_path not detected
|
||||||
|
- bug #2202709 [core] Re-login causes PMA to forget current table name
|
||||||
|
|
||||||
3.1.0.0 (not yet released)
|
3.1.0.0 (not yet released)
|
||||||
+ [auth] Support for Swekey hardware authentication,
|
+ [auth] Support for Swekey hardware authentication,
|
||||||
|
@@ -60,7 +60,12 @@ require_once './libraries/file_listing.php';
|
|||||||
* (at this point, $GLOBALS['goto'] will be set but could be empty)
|
* (at this point, $GLOBALS['goto'] will be set but could be empty)
|
||||||
*/
|
*/
|
||||||
if (empty($GLOBALS['goto'])) {
|
if (empty($GLOBALS['goto'])) {
|
||||||
|
if (strlen($table)) {
|
||||||
|
// avoid a problem (see bug #2202709)
|
||||||
|
$GLOBALS['goto'] = 'tbl_sql.php';
|
||||||
|
} else {
|
||||||
$GLOBALS['goto'] = 'db_sql.php';
|
$GLOBALS['goto'] = 'db_sql.php';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* @todo check if we could replace by "db_|tbl_" - please clarify!?
|
* @todo check if we could replace by "db_|tbl_" - please clarify!?
|
||||||
|
Reference in New Issue
Block a user