summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2012-12-04 10:50:53 -0800
committerJennifer Hodgdon2012-12-04 10:50:53 -0800
commitd06d55ce134ed177a2e19f726e30f3eb350f0695 (patch)
treedd23e239eda0ca06adc2477bdfd3d024fcdf8e34
parentdd8e0db601cdd25289f7c357161e4a110e4722fe (diff)
Issue #1856142 by kiamlaluno: Fix typo in node_query_node_access_alter() comment9.x
-rw-r--r--core/modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/node/node.module b/core/modules/node/node.module
index ea2b4ce..a37679c 100644
--- a/core/modules/node/node.module
+++ b/core/modules/node/node.module
@@ -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;
}