Révision 08f5d39b
Ajouté par Assos Assos il y a environ 9 ans
drupal7/includes/menu.inc | ||
---|---|---|
1487 | 1487 |
* menu_tree_collect_node_links(). |
1488 | 1488 |
*/ |
1489 | 1489 |
function menu_tree_check_access(&$tree, $node_links = array()) { |
1490 |
if ($node_links) { |
|
1490 |
if ($node_links && (user_access('access content') || user_access('bypass node access'))) {
|
|
1491 | 1491 |
$nids = array_keys($node_links); |
1492 | 1492 |
$select = db_select('node', 'n'); |
1493 | 1493 |
$select->addField('n', 'nid'); |
Formats disponibles : Unified diff
Update drupal 7.38 -> 7.39