Permalink
Browse files

Define forum type all the time

  • Loading branch information...
moodler
moodler committed Jan 2, 2003
1 parent 42a986b commit 51ba6ad64261ac22cfedbab29d1340815e43132d
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/forum/mod.html
View
@@ -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");

0 comments on commit 51ba6ad

Please sign in to comment.