summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-03-30 17:23:29 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-03-30 17:23:29 +0000
commitb3cb4f0d9b783d8ba52747931f5a6b3587a6a5c7 (patch)
tree19869526883053b5026573a1372f408197fd0e25 /modules/comment.module
parentbbf695fb04a8a4ae7f43388f0e13723a8e4ce06d (diff)
downloadbrdo-b3cb4f0d9b783d8ba52747931f5a6b3587a6a5c7.tar.gz
brdo-b3cb4f0d9b783d8ba52747931f5a6b3587a6a5c7.tar.bz2
#56346: XHTML validation error due to comment.module links
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 19fb00ac4..755eff9ad 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1588,10 +1588,10 @@ function theme_comment_post_forbidden($nid) {
}
if (variable_get('user_register', 1)) {
- return t('<a href="%login">login</a> or <a href="%register">register</a> to post comments', array('%login' => url('user/login', $destination), '%register' => url('user/register', $destination)));
+ return t('<a href="%login">login</a> or <a href="%register">register</a> to post comments', array('%login' => url('user/login', $destination), '%register' => check_url(url('user/register', $destination))));
}
else {
- return t('<a href="%login">login</a> to post comments', array('%login' => url('user/login', $destination)));
+ return t('<a href="%login">login</a> to post comments', array('%login' => check_url(url('user/login', $destination))));
}
}
}