Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
05566892
Commit
05566892
authored
Nov 15, 2008
by
Angie Byron
Browse files
#334732
by swentel: Fix notices in form.inc visible from update.php.
parent
15671f47
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/form.inc
View file @
05566892
...
...
@@ -945,7 +945,7 @@ function form_builder($form_id, $form, &$form_state) {
}
// If there is a file element, we need to flip a static flag so later the
// form encoding can be set.
if
(
$form
[
'#type'
]
==
'file'
)
{
if
(
isset
(
$form
[
'#type'
])
&&
$form
[
'#type'
]
==
'file'
)
{
$file
=
TRUE
;
}
if
(
isset
(
$form
[
'#type'
])
&&
$form
[
'#type'
]
==
'form'
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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