See #1167948: menu_tree_all_data() returns incorrect "has_children".
The workaround for YUI Menu is to change create_inner_menu().
Before - broken
if ($menu_item['link']['has_children'] > 0)
After - fixed
if ($menu_item['link']['has_children'] > 0 && !empty($menu_item['below']))
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | yuimenu_link_has_children-1272736-1.patch | 1.27 KB | stewart.adam |
Comments
Comment #1
stewart.adam commentedThis fix works for me. Patch against 6.x-1.x-dev attached.