diff --git a/modules/forum.module b/modules/forum.module index 9335271c478..d305b914c9f 100644 --- a/modules/forum.module +++ b/modules/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 { diff --git a/modules/forum/forum.module b/modules/forum/forum.module index 9335271c478..d305b914c9f 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 {