Index: modules/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/Attic/comment.module,v retrieving revision 1.455.2.9 diff -u -p -r1.455.2.9 comment.module --- modules/comment.module 11 Sep 2006 10:59:25 -0000 1.455.2.9 +++ modules/comment.module 10 Oct 2006 02:10:43 -0000 @@ -1600,9 +1600,9 @@ function theme_comment_post_forbidden($n else { $destination = "destination=". drupal_urlencode("node/$nid#comment_form"); } - + $reg_destination = "destination=". drupal_urlencode("node/$nid"); if (variable_get('user_register', 1)) { - return t('login or register to post comments', array('%login' => check_url(url('user/login', $destination)), '%register' => check_url(url('user/register', $destination)))); + return t('login or register to post comments', array('%login' => check_url(url('user/login', $destination)), '%register' => check_url(url('user/register', $reg_destination)))); } else { return t('login to post comments', array('%login' => check_url(url('user/login', $destination))));