bug #3367986 [navi] Drop field -> lost active table
This commit is contained in:
@@ -13,6 +13,7 @@ phpMyAdmin - ChangeLog
|
|||||||
- remove version number in /setup
|
- remove version number in /setup
|
||||||
- bug #3367993 [usability] Missing "Generate Password" button
|
- bug #3367993 [usability] Missing "Generate Password" button
|
||||||
- bug #3363221 [display] Missing Server Parameter on inline sql query
|
- bug #3363221 [display] Missing Server Parameter on inline sql query
|
||||||
|
- bug #3367986 [navi] Drop field -> lost active table
|
||||||
|
|
||||||
3.4.3.1 (2011-07-02)
|
3.4.3.1 (2011-07-02)
|
||||||
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
|
- [security] Fixed possible session manipulation in swekey authentication, see PMASA-2011-5
|
||||||
|
@@ -124,10 +124,9 @@ if (isset($GLOBALS['is_ajax_request']) && !$GLOBALS['is_ajax_request']) {
|
|||||||
htmlspecialchars($GLOBALS['db']),
|
htmlspecialchars($GLOBALS['db']),
|
||||||
__('Database'),
|
__('Database'),
|
||||||
's_db.png');
|
's_db.png');
|
||||||
// if the table is being dropped, $_REQUEST['purge'] is set
|
// if the table is being dropped, $_REQUEST['purge'] is set to '1'
|
||||||
// (it always contains "1")
|
|
||||||
// so do not display the table name in upper div
|
// so do not display the table name in upper div
|
||||||
if (strlen($GLOBALS['table']) && ! (isset($_REQUEST['purge']))) {
|
if (strlen($GLOBALS['table']) && ! (isset($_REQUEST['purge']) && $_REQUEST['purge'] == '1')) {
|
||||||
require_once './libraries/tbl_info.inc.php';
|
require_once './libraries/tbl_info.inc.php';
|
||||||
|
|
||||||
echo $separator;
|
echo $separator;
|
||||||
|
2
sql.php
2
sql.php
@@ -760,7 +760,7 @@ if (0 == $num_rows || $is_affected) {
|
|||||||
$goto = PMA_securePath($goto);
|
$goto = PMA_securePath($goto);
|
||||||
// Checks for a valid target script
|
// Checks for a valid target script
|
||||||
$is_db = $is_table = false;
|
$is_db = $is_table = false;
|
||||||
if (isset($_REQUEST['purge'])) {
|
if (isset($_REQUEST['purge']) && $_REQUEST['purge'] == '1') {
|
||||||
$table = '';
|
$table = '';
|
||||||
unset($url_params['table']);
|
unset($url_params['table']);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user