Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilina Buddika <thilinaabeyrathna@gmail.com>2012-05-16 22:42:38 +0400
committerThilina Buddika <thilinaabeyrathna@gmail.com>2012-05-16 22:42:38 +0400
commita624d848e825556c6a683a14f4579d7de965515f (patch)
tree5966e73f2ec44de4b5b88607d46ee47be5045de4 /tbl_change.php
parentf5c779d557fb8f8e2721d58083dd358ce01087ca (diff)
fixed with selected-change bug
Diffstat (limited to 'tbl_change.php')
-rw-r--r--tbl_change.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/tbl_change.php b/tbl_change.php
index 89aee4f5c4..7327574b21 100644
--- a/tbl_change.php
+++ b/tbl_change.php
@@ -32,10 +32,10 @@ require_once 'libraries/insert_edit.lib.php';
if (isset($_REQUEST['where_clause'])) {
$where_clause = $_REQUEST['where_clause'];
}
-
if (isset($_SESSION['edit_next'])) {
$where_clause = $_SESSION['edit_next'];
unset($_SESSION['edit_next']);
+ $after_insert = 'edit_next';
}
if (isset($_REQUEST['ShowFunctionFields'])) {
$cfg['ShowFunctionFields'] = $_REQUEST['ShowFunctionFields'];
@@ -43,7 +43,6 @@ if (isset($_REQUEST['ShowFunctionFields'])) {
if (isset($_REQUEST['ShowFieldTypesInDataEditView'])) {
$cfg['ShowFieldTypesInDataEditView'] = $_REQUEST['ShowFieldTypesInDataEditView'];
}
-
/**
* file listing
*/
@@ -149,7 +148,7 @@ $table_fields = array_values(PMA_DBI_get_columns($db, $table));
$paramTableDbArray = array($table, $db);
//Retrieve values for data edit view
list($insert_mode, $where_clauses, $result, $rows, $where_clause_array, $found_unique_key)
- = PMA_getValuesForEditMode($paramTableDbArray);
+ = PMA_getValuesForEditMode($paramTableDbArray, $where_clause);
// Copying a row - fetched data will be inserted as a new row, therefore the where clause is needless.
if (isset($_REQUEST['default_action']) && $_REQUEST['default_action'] === 'insert') {