diff options
author | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-12 19:07:29 +0000 |
---|---|---|
committer | Neil Drumm <drumm@3064.no-reply.drupal.org> | 2006-11-12 19:07:29 +0000 |
commit | a08f711b3ff0543fa59f5c04c1bea27fd33aeba2 (patch) | |
tree | 724d6febe2e267c4f244d00bceb191977496e763 /modules/node | |
parent | f1581984b4867dc4069fce2baec3f192daaf3bbb (diff) | |
download | brdo-a08f711b3ff0543fa59f5c04c1bea27fd33aeba2.tar.gz brdo-a08f711b3ff0543fa59f5c04c1bea27fd33aeba2.tar.bz2 |
Cleanup from #72487.
Diffstat (limited to 'modules/node')
-rw-r--r-- | modules/node/node.module | 2 |
1 files changed, 1 insertions, 1 deletions
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')"; } |