Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
b86d106e
Commit
b86d106e
authored
May 20, 2007
by
Dries
Browse files
- Patch
#141131
by mfer: fixed
UTF-8
problem.
parent
be3dea20
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/comment/comment.module
View file @
b86d106e
...
...
@@ -1687,7 +1687,7 @@ function comment_form_add_preview($form, $edit, &$form_state) {
function
comment_form_validate
(
$form_values
,
$form
,
&
$form_state
)
{
foreach
(
array
(
'name'
,
'homepage'
,
'mail'
)
as
$field
)
{
//set cookie for 365 days
set
raw
cookie
(
'comment_info_'
.
$field
,
rawurlencode
(
$form_values
[
$field
]
)
,
time
()
+
31536000
);
setcookie
(
'comment_info_'
.
$field
,
$form_values
[
$field
],
time
()
+
31536000
);
}
comment_validate
(
$form_values
);
}
...
...
Write
Preview
Supports
Markdown
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