Issue Bug Closed

#27099HMENU.excludeUidList is not accounted for when determining if a submenu is available

Jeff Segars 05/27/11, 21:10 updated 12/05/14, 14:17

Description

HMENU.excludeUidList is used to exclude certain pages from menus and is read by tslib_menu->getBannedUids(). This getBannedUids() method is called when actually generating a menu, but is not accounted for when determining menu item states such as IFSUB, ACTIFSUB, and CURIFSUB. This means that IFSUB will trigger even if a page has no visible submenu because its subpages are part of HMENU.excludeUidList.

The solution is to add a check for getBannedUids() inside tslib_menu->isSubMenu().

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.