summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrel O\'Pry2008-07-07 05:08:14 (GMT)
committer Darrel O\'Pry2008-07-07 05:08:14 (GMT)
commit84732f9a9dca25cf55609e217d1582f833505e50 (patch)
treecceb6a4eada25c5abe2ed1312c5f229061e6bd09
parentc1a8392ce7bc0ad7e5f608300a0118746ce7ab44 (diff)
fix variable name in hook_field_settings call to _filefield_field_formatter_info()..
-rw-r--r--filefield.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/filefield.module b/filefield.module
index 1429a74..6ada1c6 100644
--- a/filefield.module
+++ b/filefield.module
@@ -221,7 +221,7 @@ function filefield_field_settings($op, $field) {
case 'validate':
// Let modules add their own formatter specific validations.
- $file_formatter_info = _filefield_file_formatter_info($widget);
+ $file_formatter_info = _filefield_file_formatter_info($field);
foreach ($file_formatter_info as $file_formatter => $info) {
$file_formatter_settings = isset($field['file_formatters'][$file_formatter])