Commit 97922068 authored by Dries's avatar Dries
Browse files

- Fixed bug in forum.module: when you enable locales you were unable
  to create a new forum.  (patch by Alexander)
parent a1222d64
......@@ -24,7 +24,7 @@ function forum_form($edit = array()) {
$form .= form_textfield("Subject", "title", $edit[title], 50, 64);
$form .= form_textarea("Body", "body", $edit[body], 70, 10);
$form .= form_hidden("nid", $edit[nid]);
$form .= form_submit("Submit");
$form .= form_submit(t("Submit"));
return form($REQUEST_URI, $form);
}
......
......@@ -24,7 +24,7 @@ function forum_form($edit = array()) {
$form .= form_textfield("Subject", "title", $edit[title], 50, 64);
$form .= form_textarea("Body", "body", $edit[body], 70, 10);
$form .= form_hidden("nid", $edit[nid]);
$form .= form_submit("Submit");
$form .= form_submit(t("Submit"));
return form($REQUEST_URI, $form);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment