Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.1333 diff -u -p -r1.1333 node.module --- modules/node/node.module 15 Dec 2010 03:47:28 -0000 1.1333 +++ modules/node/node.module 29 Dec 2010 19:15:42 -0000 @@ -1159,8 +1159,7 @@ function node_save($node) { /** * Helper function to save a revision with the uid of the current user. * - * Node is taken by reference, because drupal_write_record() updates the - * $node with the revision id, and we need to pass that back to the caller. + * The resulting revision ID is available afterward in $node->vid. */ function _node_save_revision($node, $uid, $update = NULL) { $temp_uid = $node->uid; @@ -1171,6 +1170,7 @@ function _node_save_revision($node, $uid else { drupal_write_record('node_revision', $node); } + // Node object should keep the node author's uid, not the revision author's. $node->uid = $temp_uid; }