From b3cb4f0d9b783d8ba52747931f5a6b3587a6a5c7 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 30 Mar 2006 17:23:29 +0000 Subject: #56346: XHTML validation error due to comment.module links --- 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 19fb00ac4..755eff9ad 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1588,10 +1588,10 @@ function theme_comment_post_forbidden($nid) { } if (variable_get('user_register', 1)) { - return t('login or register to post comments', array('%login' => url('user/login', $destination), '%register' => url('user/register', $destination))); + return t('login or register to post comments', array('%login' => url('user/login', $destination), '%register' => check_url(url('user/register', $destination)))); } else { - return t('login to post comments', array('%login' => url('user/login', $destination))); + return t('login to post comments', array('%login' => check_url(url('user/login', $destination)))); } } } -- cgit v1.2.3