Index: modules/node/node.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/node/node.module,v
retrieving revision 1.947.2.3
diff -u -r1.947.2.3 node.module
--- modules/node/node.module	27 Feb 2008 17:12:58 -0000	1.947.2.3
+++ modules/node/node.module	16 Mar 2008 15:50:37 -0000
@@ -865,18 +865,9 @@
     // Insert a new node.
     $node->is_new = TRUE;
 
-    // When inserting a node, $node->log must be set because
-    // {node_revisions}.log does not (and cannot) have a default
-    // value.  If the user does not have permission to create
-    // revisions, however, the form will not contain an element for
-    // log so $node->log will be unset at this point.
-    if (!isset($node->log)) {
-      $node->log = '';
-    }
-
-    // For the same reasons, make sure we have $node->teaser and
-    // $node->body.  We should consider making these fields nullable
-    // in a future version since node types are not required to use them.
+    // Make sure we have $node->teaser and $node->body.
+    // We should consider making these fields nullable in a future version
+    // since node types are not required to use them.
     if (!isset($node->teaser)) {
       $node->teaser = '';
     }
@@ -950,6 +941,15 @@
     drupal_write_record('node_revisions', $node, $update);
   }
   else {
+    // When inserting a node, $node->log must be set because
+    // {node_revisions}.log does not (and cannot) have a default
+    // value. If the user does not have permission to create
+    // revisions or if a module forced the creation of a new revision,
+    // however, $node->log will be unset at this point.
+    if (!isset($node->log)) {
+      $node->log = '';
+    }
+
     drupal_write_record('node_revisions', $node);
   }
   $node->uid = $temp_uid;
