summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2003-01-29 23:33:50 +0000
committerDries Buytaert <dries@buytaert.net>2003-01-29 23:33:50 +0000
commit74a3318ca9163f137793fbcc4d174d2873429ac6 (patch)
tree6c9e7411ae02a81b2968d7b54e7a0a882c74fd74
parent2436dfbccf4283682ca3992cbfb411667a700d7c (diff)
downloadbrdo-74a3318ca9163f137793fbcc4d174d2873429ac6.tar.gz
brdo-74a3318ca9163f137793fbcc4d174d2873429ac6.tar.bz2
- Bugfix; we got redirected to the wrong URL.
-rw-r--r--modules/comment.module2
-rw-r--r--modules/comment/comment.module2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module
index fcb31f7a2..4f991b706 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 fcb31f7a2..4f991b706 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();