diff --git a/ChangeLog b/ChangeLog
index 9e757f4d8..662496aaa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -21,6 +21,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- [gui] avoid displaying a wide selector in server selection
- bug #1614004 [relation] foreign key spanning multiple columns are
incorrectly displayed
+- bug #1681598 [interface] Edit next row
+ [core] added PMA_fatalError() and made use of it
. [core] added PMA_isValid() and PMA_ifSetOr() for variable handling
. [i18n] use generic $strOptions
diff --git a/tbl_change.php b/tbl_change.php
index f7cb61fa9..80c33b837 100644
--- a/tbl_change.php
+++ b/tbl_change.php
@@ -33,6 +33,11 @@ if (isset($_REQUEST['dontlimitchars'])) {
if (isset($_REQUEST['primary_key'])) {
$primary_key = $_REQUEST['primary_key'];
}
+if (isset($_SESSION['edit_next'])) {
+ $primary_key = $_SESSION['edit_next'];
+ unset($_SESSION['edit_next']);
+ $after_insert = 'edit_next';
+}
if (isset($_REQUEST['sql_query'])) {
$sql_query = $_REQUEST['sql_query'];
}
@@ -1005,7 +1010,7 @@ if (isset($primary_key)) {
// in 2.9.0, we are looking for `table_name`.`field_name` = numeric_value
if (preg_match('@^[\s]*`[^`]*`[\.]`[^`]*` = [0-9]+@', $primary_key)) {
?>
-
+