- #34401: Validation error (form method must be lowercase 'get' or 'post')

4.7.x
Steven Wittens 2005-10-19 09:28:21 +00:00
parent 76000f1d44
commit aa5ad37082
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ function system_perm() {
*/
function system_elements() {
// Top level form
$type['form'] = array('#method' => 'POST', '#action' => request_uri());
$type['form'] = array('#method' => 'post', '#action' => request_uri());
// Inputs
$type['checkbox'] = array('#input' => TRUE, '#return_value' => 1);

View File

@ -54,7 +54,7 @@ function system_perm() {
*/
function system_elements() {
// Top level form
$type['form'] = array('#method' => 'POST', '#action' => request_uri());
$type['form'] = array('#method' => 'post', '#action' => request_uri());
// Inputs
$type['checkbox'] = array('#input' => TRUE, '#return_value' => 1);