summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
authorJennifer Hodgdon <yahgrp@poplarware.com>2012-12-04 10:51:40 -0800
committerJennifer Hodgdon <yahgrp@poplarware.com>2012-12-04 10:51:40 -0800
commitc2c9283a96e683409a5a13cf99901981b343dd35 (patch)
treeedc86657a1d6b07707fc99f719a4065757042f18 /modules/node
parent9aef62dcd99ebf1666abdf669c1bb795faa7f416 (diff)
downloadbrdo-c2c9283a96e683409a5a13cf99901981b343dd35.tar.gz
brdo-c2c9283a96e683409a5a13cf99901981b343dd35.tar.bz2
Issue #1856142 by kiamlaluno: Fix typo in node_query_node_access_alter() comment
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/node.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 519a0cba5..4ab02614c 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -3281,8 +3281,8 @@ function _node_query_node_access_alter($query, $type) {
}
// 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;
}