diff --git a/nodehierarchy.module b/nodehierarchy.module index fa0c87a..7a9c549 100644 --- a/nodehierarchy.module +++ b/nodehierarchy.module @@ -1926,7 +1926,7 @@ function _nodehierarchy_tree_data($result, $exclude = NULL, $allowed_types, $dep if ($item['depth'] > $depth) { // _menu_tree returns an item and the menu tree structure. list($item, $below) = _nodehierarchy_tree_data($result, $exclude, $allowed_types, $item['depth'], $item); - if ($previous_element && ($below || !$previous_element['disabled'])) { + if ($previous_element && !$previous_element['disabled']) { $tree[_nodehierarchy_get_parent_selector_value($previous_element)] = $previous_element; } $tree += $below;