summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Haug2010-04-24 01:19:50 (GMT)
committer Nathan Haug2010-04-24 01:19:50 (GMT)
commit6877d63b5b1036779c89787826bb88a382d7d5bf (patch)
treea5cbff8937f87a17f2b3e515ec287c928d9136ab
parentba13e2d4a3d2aba1f95cc635dc383106ef424c4b (diff)
#635240 by markus_petrux: Filefield with Image widget in Multigroup - missing label.
-rw-r--r--filefield_widget.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/filefield_widget.inc b/filefield_widget.inc
index 36e4ab9..485bb48 100644
--- a/filefield_widget.inc
+++ b/filefield_widget.inc
@@ -243,7 +243,7 @@ function filefield_widget_process($element, $edit, &$form_state, $form) {
$delta = $element['#delta'];
$element['#theme'] = 'filefield_widget_item';
- $field = content_fields($element['#field_name'], $element['#type_name']);
+ $field = $form['#field_info'][$field_name];
// Title is not necessary for each individual field.
if ($field['multiple'] > 0) {