summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2002-05-29 17:32:09 +0000
committerDries Buytaert <dries@buytaert.net>2002-05-29 17:32:09 +0000
commit8bba059a8e388cb1a3cd3bb6de2cb8b2d50f5bba (patch)
tree2c0076372c83132aabe2c515a146e0d7e0ddbf27 /modules/comment.module
parent0b596a8ec426beb4df9f82bd74c82a1d8d5c8b18 (diff)
downloadbrdo-8bba059a8e388cb1a3cd3bb6de2cb8b2d50f5bba.tar.gz
brdo-8bba059a8e388cb1a3cd3bb6de2cb8b2d50f5bba.tar.bz2
- Fixed a drupal_goto() as identified by Marco.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 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"));
}