From dafb146b2700b204a02dea60f955d5e1db98ee37 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 18 Jul 2006 10:44:45 +0000 Subject: #74070: urlencode to drupal_urlencode() --- modules/comment/comment.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index c89d2f1d9..9ec6fe377 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1647,10 +1647,10 @@ function theme_comment_post_forbidden($nid) { else { // we cannot use drupal_get_destination() because these links sometimes appear on /node and taxo listing pages if (variable_get('comment_form_location', COMMENT_FORM_SEPARATE_PAGE) == COMMENT_FORM_SEPARATE_PAGE) { - $destination = "destination=". urlencode("comment/reply/$nid#comment_form"); + $destination = "destination=". drupal_urlencode("comment/reply/$nid#comment_form"); } else { - $destination = "destination=". urlencode("node/$nid#comment_form"); + $destination = "destination=". drupal_urlencode("node/$nid#comment_form"); } if (variable_get('user_register', 1)) { -- cgit v1.2.3