From 72f33dde3236b5a97f8d292abd0b01f3fad056e1 Mon Sep 17 00:00:00 2001 From: Kjartan Mannes Date: Fri, 3 May 2002 12:56:57 +0000 Subject: - fixed comment control settings: http://www.drupal.org/node.php?id=115 --- modules/comment/comment.module | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 6fd9793b8..4cb0bae90 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -494,7 +494,8 @@ function comment_render($nid, $cid) { } print "\n"; - print "
\n"; + print " "comment"), "module") ."\">\n"; + print form_hidden("nid", $nid); /* ** Render control panel: @@ -685,7 +686,9 @@ function comment_page() { comment_post($edit); break; case t("Update settings"): + global $mode, $order, $threshold; comment_settings(check_query($mode), check_query($order), check_query($threshold)); + drupal_goto(drupal_url(array("id" => $edit["nid"]), "node")); break; default: } -- cgit v1.2.3