summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index af855d7ca..33910f6bc 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -976,8 +976,8 @@ function node_save($node) {
unset($node->log);
}
- // When saving a new node revision, unset any existing revision ID so as to
- // ensure that a new revision will actually be created, and store the old
+ // When saving a new node revision, unset any existing $node->vid so as to
+ // ensure that a new revision will actually be created, then store the old
// revision ID in a separate property for use by node hook implementations.
if (!$node->is_new && !empty($node->revision) && $node->vid) {
$node->old_vid = $node->vid;