### Eclipse Workspace Patch 1.0 #P drupal5 Index: modules/node/node.module =================================================================== RCS file: /cvs/drupal/drupal/modules/node/node.module,v retrieving revision 1.776.2.22 diff -u -r1.776.2.22 node.module --- modules/node/node.module 7 Jan 2008 01:31:26 -0000 1.776.2.22 +++ modules/node/node.module 19 Jan 2008 05:10:07 -0000 @@ -1747,7 +1747,7 @@ node_save($node); drupal_set_message(t('%title has been reverted back to the revision from %revision-date', array('%revision-date' => format_date($node->revision_timestamp), '%title' => $node->title))); - watchdog('content', t('@type: reverted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $revision))); + watchdog('content', t('@type: reverted %title revision %revision.', array('@type' => t($node->type), '%title' => $node->title, '%revision' => $node->vid))); return 'node/'. $node->nid .'/revisions'; }