projects
/
project/drupal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0083fcb
)
#1002396 by yhager: Fixed Missing form_state in callback call in file_managed_file_value
author
Angie Byron
Wed, 29 Dec 2010 04:35:23 +0000 (
04:35
+0000)
committer
Angie Byron
Wed, 29 Dec 2010 04:35:23 +0000 (
04:35
+0000)
modules/file/file.module
patch
|
blob
|
blame
|
history
diff --git
a/modules/file/file.module
b/modules/file/file.module
index
bbf3a1a
..
13a8024
100644
(file)
--- a/
modules/file/file.module
+++ b/
modules/file/file.module
@@
-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.