diff --git a/modules/node/node.module b/modules/node/node.module
index 8f247cd..1b9ab27 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -2994,7 +2994,7 @@ function node_access($op, $node, $account = NULL) {
   // $node may be either an object or a node type. Since node types cannot be
   // an integer, use either nid or type as the static cache id.
 
-  $cid = is_object($node) ? $node->nid : $node;
+  $cid = is_object($node) ? $node->vid : $node;
 
   // If we've already checked access for this node, user and op, return from
   // cache.
