- #34401: Validation error (form method must be lowercase 'get' or 'post')
parent
76000f1d44
commit
aa5ad37082
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue