diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment.module | 2 | ||||
-rw-r--r-- | modules/comment/comment.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module index 4fce79492..baefa295c 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -291,7 +291,7 @@ function comment_post($edit) { ** Redirect the user the node he commented on: */ - drupal_goto(drupal_url(array("id" => $edit["nid"], "node"))); + drupal_goto(drupal_url(array("id" => $edit["nid"]), "node")); } diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 4fce79492..baefa295c 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -291,7 +291,7 @@ function comment_post($edit) { ** Redirect the user the node he commented on: */ - drupal_goto(drupal_url(array("id" => $edit["nid"], "node"))); + drupal_goto(drupal_url(array("id" => $edit["nid"]), "node")); } |