bug #1381856, Cannot edit a table having 40 columns
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2005-12-22 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* tbl_change.php, libraries/common.lib.php: bug #1381856,
|
||||||
|
Cannot edit a table having 40 columns
|
||||||
|
|
||||||
2005-12-21 Marc Delisle <lem9@users.sourceforge.net>
|
2005-12-21 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* lang/danish: Updated, thanks to AlleyKat - dk_alleykat
|
* lang/danish: Updated, thanks to AlleyKat - dk_alleykat
|
||||||
* lang/hungarian update, thanks to Mihály Mészáros <necronix@freemail.hu>
|
* lang/hungarian update, thanks to Mihály Mészáros <necronix@freemail.hu>
|
||||||
|
@@ -2575,6 +2575,7 @@ if (isset($_POST['usesubform'])) {
|
|||||||
$subform_id = key($_POST['usesubform']);
|
$subform_id = key($_POST['usesubform']);
|
||||||
$subform = $_POST['subform'][$subform_id];
|
$subform = $_POST['subform'][$subform_id];
|
||||||
$_POST = $subform;
|
$_POST = $subform;
|
||||||
|
$_REQUEST = $subform;
|
||||||
if (isset($_POST['redirect'])
|
if (isset($_POST['redirect'])
|
||||||
&& $_POST['redirect'] != basename($_SERVER['PHP_SELF'])) {
|
&& $_POST['redirect'] != basename($_SERVER['PHP_SELF'])) {
|
||||||
$__redirect = $_POST['redirect'];
|
$__redirect = $_POST['redirect'];
|
||||||
|
@@ -3,10 +3,38 @@
|
|||||||
// vim: expandtab sw=4 ts=4 sts=4:
|
// vim: expandtab sw=4 ts=4 sts=4:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the variables sent or posted to this script and displays the header
|
* Gets the variables sent or posted to this script and displays the header
|
||||||
*/
|
*/
|
||||||
require_once('./libraries/common.lib.php');
|
require_once('./libraries/common.lib.php');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets global variables.
|
||||||
|
* Here it's better to use a if, instead of the '?' operator
|
||||||
|
* to avoid setting a variable to '' when it's not present in $_REQUEST
|
||||||
|
*/
|
||||||
|
if (isset($_REQUEST['pos'])) {
|
||||||
|
$pos = $_REQUEST['pos'];
|
||||||
|
}
|
||||||
|
if (isset($_REQUEST['session_max_rows'])) {
|
||||||
|
$session_max_rows = $_REQUEST['session_max_rows'];
|
||||||
|
}
|
||||||
|
if (isset($_REQUEST['disp_direction'])) {
|
||||||
|
$disp_direction = $_REQUEST['disp_direction'];
|
||||||
|
}
|
||||||
|
if (isset($_REQUEST['repeat_cells'])) {
|
||||||
|
$repeat_cells = $_REQUEST['repeat_cells'];
|
||||||
|
}
|
||||||
|
if (isset($_REQUEST['dontlimitchars'])) {
|
||||||
|
$dontlimitchars = $_REQUEST['dontlimitchars'];
|
||||||
|
}
|
||||||
|
if (isset($_REQUEST['primary_key'])) {
|
||||||
|
$primary_key = $_REQUEST['primary_key'];
|
||||||
|
}
|
||||||
|
if (isset($_REQUEST['sql_query'])) {
|
||||||
|
$sql_query = $_REQUEST['sql_query'];
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$js_to_run = 'tbl_change.js';
|
$js_to_run = 'tbl_change.js';
|
||||||
require_once('./libraries/header.inc.php');
|
require_once('./libraries/header.inc.php');
|
||||||
require_once('./libraries/relation.lib.php'); // foreign keys
|
require_once('./libraries/relation.lib.php'); // foreign keys
|
||||||
|
Reference in New Issue
Block a user