diff options
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 9335271c4..d305b914c 100644 --- a/modules/forum/forum.module +++ b/modules/forum/forum.module @@ -370,7 +370,7 @@ function forum_validate($node) { * Implementation of hook_update(). */ function forum_update($node) { - if ($node->is_new || $node->revision) { + if ($node->revision) { db_query("INSERT INTO {forum} (nid, vid, tid) VALUES (%d, %d, %d)", $node->nid, $node->vid, $node->tid); } else { |