diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-25 20:06:06 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-25 20:06:06 +0000 |
commit | 56b35360eda1b2777da112c14ea2cc1efa0c1448 (patch) | |
tree | e36747b1c372b9b3fccc46c62b043be5e724855a /modules/forum.module | |
parent | 168db4c99e13586ff8f2087e7db77606c287d326 (diff) | |
download | brdo-56b35360eda1b2777da112c14ea2cc1efa0c1448.tar.gz brdo-56b35360eda1b2777da112c14ea2cc1efa0c1448.tar.bz2 |
- Fixed problem with book.module (reported by Jared).
- Fixed problem with forum.module (reported by Jared).
Diffstat (limited to 'modules/forum.module')
-rw-r--r-- | modules/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum.module b/modules/forum.module index a9029f53d..cdbe9ce4f 100644 --- a/modules/forum.module +++ b/modules/forum.module @@ -24,7 +24,7 @@ function forum_form($edit = array()) { function forum_save($edit) { global $user, $status; - node_save($edit, array(author => $user->id, body, comment => 1, moderate => variable_get("forum_moderate", ""), promote => variable_get("forum_promote", 0), score => 0, status => $status[posted], timestamp => time(), title, type => "forum", votes => 0)); + node_save($edit, array(author => $user->id, body, comment => 1, moderate => 0, promote => 0, score => 0, status => $status[posted], timestamp => time(), title, type => "forum", votes => 0)); } function forum_num_comments($nid) { |