Révision 3753f249
Ajouté par Assos Assos il y a plus de 10 ans
htmltest/sites/all/modules/ctools/plugins/relationships/book_parent.inc | ||
---|---|---|
42 | 42 |
// Load the node. |
43 | 43 |
$node = node_load($nid); |
44 | 44 |
// Generate the context. |
45 |
return ctools_context_create('node', $node); |
|
45 |
if (node_access('view', $node)) { |
|
46 |
return ctools_context_create('node', $node); |
|
47 |
} |
|
46 | 48 |
} |
47 | 49 |
} |
48 | 50 |
else { |
Formats disponibles : Unified diff
Weekly update of contrib modules