Commit 6877d63b authored by quicksketch's avatar quicksketch

#635240 by markus_petrux: Filefield with Image widget in Multigroup - missing label.

parent ba13e2d4
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment