Commit 91f0b9f9 authored by Matthias Hutterer's avatar Matthias Hutterer
Browse files

#486304 by gnindl prevent multiple headers for multiple widget values

parent 35c92261
......@@ -220,8 +220,8 @@ function email_textfield_process($element, $edit, $form_state, $form) {
$delta = $element['#delta'];
$element[$field_key] = array(
'#type' => 'textfield',
'#title' => t($field['widget']['label']),
'#description' => content_filter_xss(t($field['widget']['description'])),
'#title' => $element['#title'],
'#description' => content_filter_xss($field['widget']['description']),
'#required' => $element['#required'],
'#maxlength' => 255,
'#size' => !empty($field['widget']['size']) ? $field['widget']['size'] : 60,
......
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