From a08f711b3ff0543fa59f5c04c1bea27fd33aeba2 Mon Sep 17 00:00:00 2001 From: Neil Drumm Date: Sun, 12 Nov 2006 19:07:29 +0000 Subject: Cleanup from #72487. --- modules/node/node.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/node/node.module b/modules/node/node.module index 4c55d1aa6..e89571f65 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -2614,7 +2614,7 @@ function node_access($op, $node = NULL) { // node_access table. if ($op != 'create' && $node->nid && $node->status) { $grants = array(); - foreach (node_access_grants($op, $uid) as $realm => $gids) { + foreach (node_access_grants($op) as $realm => $gids) { foreach ($gids as $gid) { $grants[] = "(gid = $gid AND realm = '$realm')"; } -- cgit v1.2.3