summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2005-08-05 13:11:10 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2005-08-05 13:11:10 +0000
commitf7039a67cc7e59307396a962f5e435120251ec29 (patch)
treeccfe49a8982259905597c8a2494fc3ba1e094665 /modules/node/node.module
parent64299d745525ed90992682d76543760bc6355933 (diff)
downloadbrdo-f7039a67cc7e59307396a962f5e435120251ec29.tar.gz
brdo-f7039a67cc7e59307396a962f5e435120251ec29.tar.bz2
- #25395: Allow for more integers in node_access grant_x columns
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 8c265907f..f8faca73d 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1881,7 +1881,7 @@ function node_access($op, $node = NULL, $uid = NULL) {
$grants[] = "'". $realm . $gid ."'";
}
}
- $sql .= implode(',', $grants) .') AND grant_'. $op .' = 1';
+ $sql .= implode(',', $grants) .') AND grant_'. $op .' >= 1';
$result = db_query($sql, $node->nid);
return (db_result($result));
}