Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
aa5ad370
Commit
aa5ad370
authored
Oct 19, 2005
by
Steven Wittens
Browse files
-
#34401
: Validation error (form method must be lowercase 'get' or 'post')
parent
76000f1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/system.module
View file @
aa5ad370
...
...
@@ -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
);
...
...
modules/system/system.module
View file @
aa5ad370
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment