From 8bba059a8e388cb1a3cd3bb6de2cb8b2d50f5bba Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 29 May 2002 17:32:09 +0000 Subject: - Fixed a drupal_goto() as identified by Marco. --- modules/comment/comment.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/comment.module') 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")); } -- cgit v1.2.3