diff options
author | Dries Buytaert <dries@buytaert.net> | 2002-05-29 17:32:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2002-05-29 17:32:09 +0000 |
commit | 8bba059a8e388cb1a3cd3bb6de2cb8b2d50f5bba (patch) | |
tree | 2c0076372c83132aabe2c515a146e0d7e0ddbf27 /modules | |
parent | 0b596a8ec426beb4df9f82bd74c82a1d8d5c8b18 (diff) | |
download | brdo-8bba059a8e388cb1a3cd3bb6de2cb8b2d50f5bba.tar.gz brdo-8bba059a8e388cb1a3cd3bb6de2cb8b2d50f5bba.tar.bz2 |
- Fixed a drupal_goto() as identified by Marco.
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")); } |