bug #2821757 [insert] "Insert another new row" no longer worked
This commit is contained in:
@@ -22,6 +22,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
- bug #2816840 [priv] Cannot change a user's details
|
||||
- bug #2816165 [display] Executed query not always displayed
|
||||
- bug #2819944 [setup] Incorrect mention of designer_coords
|
||||
- bug #2821757 [insert] "Insert another new row" no longer worked
|
||||
|
||||
3.2.0.1 (2009-06-30)
|
||||
- [security] XSS: Insufficient output sanitizing in bookmarks
|
||||
|
@@ -420,6 +420,16 @@ $GLOBALS['js_include'][] = 'functions.js';
|
||||
$GLOBALS['js_include'][] = 'mootools.js';
|
||||
|
||||
$active_page = $goto_include;
|
||||
|
||||
/**
|
||||
* If user asked for "and then Insert another new row" we have to remove
|
||||
* primary key information so that tbl_change.php does not go back
|
||||
* to the current record
|
||||
*/
|
||||
if (isset($_REQUEST['after_insert']) && 'new_insert' == $_REQUEST['after_insert']) {
|
||||
unset($_REQUEST['primary_key']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Load header.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user