security update core+modules
This commit is contained in:
@@ -42,7 +42,9 @@ function ctools_book_parent_context($context, $conf) {
|
||||
// Load the node.
|
||||
$node = node_load($nid);
|
||||
// Generate the context.
|
||||
return ctools_context_create('node', $node);
|
||||
if (node_access('view', $node)) {
|
||||
return ctools_context_create('node', $node);
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user