diff --git a/tbl_change.php b/tbl_change.php index 7cce7392d2..a47d1c55af 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -152,10 +152,11 @@ if (! isset($where_clause)) { $where_clause = null; } //Retrieve values for data edit view -list($insert_mode, $where_clauses, $result, $rows, $where_clause_array, $found_unique_key) +list($insert_mode, $where_clauses, $result, $rows, $where_clause_array, $found_unique_key) = PMA_getStuffForEditMode($where_clause, $table, $db); -// Copying a row - fetched data will be inserted as a new row, therefore the where clause is needless. +// 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') { unset($where_clause, $where_clauses); } @@ -202,7 +203,9 @@ $biggest_max_file_size = 0; $url_params['db'] = $db; $url_params['table'] = $table; -$url_params = PMA_urlParamsInEditMode($url_params, $where_clause_array, $where_clause); +$url_params = PMA_urlParamsInEditMode( + $url_params, $where_clause_array, $where_clause +); //Insert/Edit form $html_output .= '