From 74a3318ca9163f137793fbcc4d174d2873429ac6 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Wed, 29 Jan 2003 23:33:50 +0000
Subject: [PATCH] - Bugfix; we got redirected to the wrong URL.

---
 modules/comment.module         | 2 +-
 modules/comment/comment.module | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/comment.module b/modules/comment.module
index fcb31f7a2afe..4f991b70612d 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -694,7 +694,7 @@ function comment_page() {
     case t("Moderate comments"):
     case t("Moderate comment"):
       comment_moderate($edit);
-      drupal_goto("node/view/". $edit["nid"]);
+      drupal_goto(url("node/view/". $edit["nid"]));
       break;
     case "reply":
       $theme->header();
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index fcb31f7a2afe..4f991b70612d 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -694,7 +694,7 @@ function comment_page() {
     case t("Moderate comments"):
     case t("Moderate comment"):
       comment_moderate($edit);
-      drupal_goto("node/view/". $edit["nid"]);
+      drupal_goto(url("node/view/". $edit["nid"]));
       break;
     case "reply":
       $theme->header();
-- 
GitLab