diff options
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 5adcdd498..494da60bc 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -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 - setrawcookie('comment_info_' . $field, rawurlencode($form_values[$field]), time() + 31536000); + setcookie('comment_info_'. $field, $form_values[$field], time() + 31536000); } comment_validate($form_values); } |