Commit d06d55ce authored by jhodgdon's avatar jhodgdon

Issue #1856142 by kiamlaluno: Fix typo in node_query_node_access_alter() comment

parent dd8e0db6
......@@ -3028,8 +3028,8 @@ function node_query_node_access_alter(AlterableInterface $query) {
}
// If $account can bypass node access, or there are no node access modules,
// or the operation is 'view' and the $acount has a global view grant (i.e.,
// a view grant for node ID 0), we don't need to alter the query.
// or the operation is 'view' and the $account has a global view grant
// (such as a view grant for node ID 0), we don't need to alter the query.
if (user_access('bypass node access', $account)) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment