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
90155726
Commit
90155726
authored
Dec 29, 2010
by
webchick
Browse files
#1002396
by yhager: Fixed Missing form_state in callback call in file_managed_file_value
parent
0083fcb5
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/file/file.module
View file @
90155726
...
...
@@ -494,7 +494,7 @@ function file_managed_file_value(&$element, $input = FALSE, $form_state = NULL)
// functionality to allow File fields to be extended through FAPI.
if
(
isset
(
$element
[
'#file_value_callbacks'
]))
{
foreach
(
$element
[
'#file_value_callbacks'
]
as
$callback
)
{
$callback
(
$element
,
$input
);
$callback
(
$element
,
$input
,
$form_state
);
}
}
// Load file if the FID has changed to confirm it exists.
...
...
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