From: moodler <moodler>
Date: Thu, 2 Jan 2003 10:46:52 +0000 (+0000)
Subject: Define forum type all the time
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=51ba6ad64261ac22cfedbab29d1340815e43132d;p=moodle.git

Define forum type all the time
---

diff --git a/mod/forum/mod.html b/mod/forum/mod.html
index 0c8674a8b4..b2c7fab8d8 100644
--- a/mod/forum/mod.html
+++ b/mod/forum/mod.html
@@ -39,8 +39,10 @@
        }
        if ($form->type == "news") {
            print_string("namenews", "forum");
+           echo "<input type=\"hidden\" name=\"type\" value=\"news\">";
        } else if ($form->type == "social") {
            print_string("namesocial", "forum");
+           echo "<input type=\"hidden\" name=\"type\" value=\"social\">";
        } else {
            choose_from_menu($FORUM_TYPES, "type", $form->type, "");
            helpbutton("forumtype", get_string("forumtype", "forum"), "forum");