summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2012-12-04 18:51:40 (GMT)
committer Jennifer Hodgdon2012-12-04 18:51:40 (GMT)
commitc2c9283a96e683409a5a13cf99901981b343dd35 (patch)
treeedc86657a1d6b07707fc99f719a4065757042f18
parent9aef62dcd99ebf1666abdf669c1bb795faa7f416 (diff)
Issue #1856142 by kiamlaluno: Fix typo in node_query_node_access_alter() comment
-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 519a0cb..4ab0261 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;
}