bug #2113848 [navi] Page number after database switching
This commit is contained in:
@@ -109,6 +109,7 @@ danbarry
|
|||||||
contains accents
|
contains accents
|
||||||
+ [lang] Spanish update, thanks to Daniel Hinostroza
|
+ [lang] Spanish update, thanks to Daniel Hinostroza
|
||||||
+ [lang] Hungarian update, thanks to Jozsef Tamas Herczeg - dodika
|
+ [lang] Hungarian update, thanks to Jozsef Tamas Herczeg - dodika
|
||||||
|
- bug #2113848 [navi] Page number after database switching
|
||||||
|
|
||||||
2.11.9.1 (2008-09-15)
|
2.11.9.1 (2008-09-15)
|
||||||
- [security] Code execution vulnerability, thanks to Norman Hippert
|
- [security] Code execution vulnerability, thanks to Norman Hippert
|
||||||
|
@@ -45,8 +45,9 @@ require_once './libraries/common.inc.php';
|
|||||||
/**
|
/**
|
||||||
* limits for table list
|
* limits for table list
|
||||||
*/
|
*/
|
||||||
if (! isset($_SESSION['userconf']['table_limit_offset'])) {
|
if (! isset($_SESSION['userconf']['table_limit_offset']) || $_SESSION['userconf']['table_limit_offset_db'] != $db) {
|
||||||
$_SESSION['userconf']['table_limit_offset'] = 0;
|
$_SESSION['userconf']['table_limit_offset'] = 0;
|
||||||
|
$_SESSION['userconf']['table_limit_offset_db'] = $db;
|
||||||
}
|
}
|
||||||
if (isset($_REQUEST['pos'])) {
|
if (isset($_REQUEST['pos'])) {
|
||||||
$_SESSION['userconf']['table_limit_offset'] = (int) $_REQUEST['pos'];
|
$_SESSION['userconf']['table_limit_offset'] = (int) $_REQUEST['pos'];
|
||||||
|
@@ -63,8 +63,9 @@ function PMA_exitNavigationFrame()
|
|||||||
if (! isset($_SESSION['userconf']['navi_limit_offset'])) {
|
if (! isset($_SESSION['userconf']['navi_limit_offset'])) {
|
||||||
$_SESSION['userconf']['navi_limit_offset'] = 0;
|
$_SESSION['userconf']['navi_limit_offset'] = 0;
|
||||||
}
|
}
|
||||||
if (! isset($_SESSION['userconf']['table_limit_offset'])) {
|
if (! isset($_SESSION['userconf']['table_limit_offset']) || $_SESSION['userconf']['table_limit_offset_db'] != $db) {
|
||||||
$_SESSION['userconf']['table_limit_offset'] = 0;
|
$_SESSION['userconf']['table_limit_offset'] = 0;
|
||||||
|
$_SESSION['userconf']['table_limit_offset_db'] = $db;
|
||||||
}
|
}
|
||||||
if (isset($_REQUEST['pos'])) {
|
if (isset($_REQUEST['pos'])) {
|
||||||
if (isset($_REQUEST['tpos'])) {
|
if (isset($_REQUEST['tpos'])) {
|
||||||
|
Reference in New Issue
Block a user