Skip to content
Snippets Groups Projects
Commit b275f68c authored by Brendan Anderson's avatar Brendan Anderson Committed by Patrick Scheffer
Browse files

Issue #3394323 by bander2: Access checking must be explicitly specified on content entity queries

parent 5e18d791
No related branches found
No related tags found
No related merge requests found
......@@ -367,6 +367,7 @@ function inline_documentation_load_by_page(array $pages = [], $load_entities = T
$query->condition($orGroup);
$query->sort('field_inline_doc_weight', 'ASC');
// Execute the query and retrieve the node ids.
$query->accessCheck();
$nids = $query->execute();
// Load entity objects if enabled.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment