Default menu item selection logic is broken

Created on 13 December 2012, over 11 years ago
Updated 5 February 2023, over 1 year ago

In submenutree_node_view() the code attempts to "give priority to the default menu" but it never works, because $menu_name always has a colon in it, eg main-menu:0, and that is not the name of a menu. Attached patch resolves this issue.

πŸ› Bug report
Status

RTBC

Version

2.0

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia mstrelan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024