Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.776.2.1 diff -u -p -r1.776.2.1 node.module --- modules/node/node.module 29 Jan 2007 21:51:53 -0000 1.776.2.1 +++ modules/node/node.module 1 Feb 2007 01:39:21 -0000 @@ -1884,6 +1884,10 @@ function node_submit($node) { // saved values if the node exists, or force the defaults. if (!$access && $node->nid) { $saved_node = node_load($node->nid); + // workflow option 'revision' is not saved in the node table. + // thus it has to be loaded from the options. the other options are taken from the node + $node_options = variable_get('node_options_'. $node->type, array('status', 'promote')); + $saved_node->revision = in_array('revision', $node_options); } else { $node_options = variable_get('node_options_'. $node->type, array('status', 'promote'));