diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-06-25 19:36:04 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-06-25 19:36:04 +0000 |
commit | 168db4c99e13586ff8f2087e7db77606c287d326 (patch) | |
tree | 8df58eeb2ee54d08b4397bb58de89429652daeb4 /modules/forum | |
parent | ca6af5ad768e334a1c6ed184826de32bc7cbd2cb (diff) | |
download | brdo-168db4c99e13586ff8f2087e7db77606c287d326.tar.gz brdo-168db4c99e13586ff8f2087e7db77606c287d326.tar.bz2 |
- Fixed problem with book.module (reported by Jared).
- Fixed problem with forum.module (reported by Jared).
Diffstat (limited to 'modules/forum')
-rw-r--r-- | modules/forum/forum.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 8bce520e3..a9029f53d 100644 --- a/modules/forum/forum.module +++ b/modules/forum/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 => variable_get("forum_comment", 0), 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 => variable_get("forum_moderate", ""), promote => variable_get("forum_promote", 0), score => 0, status => $status[posted], timestamp => time(), title, type => "forum", votes => 0)); } function forum_num_comments($nid) { |