summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 51cf65aa1..4ea12cb4f 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1590,7 +1590,7 @@ function theme_comment_post_forbidden($nid) {
$destination = "destination=comment/reply/$nid";
}
else {
- $destination = "node/$nid";
+ $destination = "destination=node/$nid";
}
if (variable_get('user_register', 1)) {
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 51cf65aa1..4ea12cb4f 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1590,7 +1590,7 @@ function theme_comment_post_forbidden($nid) {
$destination = "destination=comment/reply/$nid";
}
else {
- $destination = "node/$nid";
+ $destination = "destination=node/$nid";
}
if (variable_get('user_register', 1)) {