summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-05-20 07:30:03 +0000
committerDries Buytaert <dries@buytaert.net>2007-05-20 07:30:03 +0000
commitb86d106e0e8e4417cefc0f0318cb2ba108073194 (patch)
tree23537d972e62f20e00d5fe6c0c2969a2e6f9957a /modules/comment/comment.module
parentbe3dea205fd79ab487c663ed62548049e5066353 (diff)
downloadbrdo-b86d106e0e8e4417cefc0f0318cb2ba108073194.tar.gz
brdo-b86d106e0e8e4417cefc0f0318cb2ba108073194.tar.bz2
- Patch #141131 by mfer: fixed UTF-8 problem.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module2
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);
}