Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
email
Commits
91f0b9f9
Commit
91f0b9f9
authored
Jun 13, 2009
by
Matthias Hutterer
Browse files
#486304 by gnindl prevent multiple headers for multiple widget values
parent
35c92261
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
email.module
email.module
+2
-2
No files found.
email.module
View file @
91f0b9f9
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment