diff options
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 4 |
1 files changed, 2 insertions, 2 deletions
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('<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)))); } } } |