Issue Bug Closed

#22478count_menuItems not working correctly

Frederic Gaus 04/17/10, 15:14 updated 10/02/18, 12:23

Description

It seems that count_menuItems is set to the count of subpages when a submenu is rended. After rendering the submenu, the value is not resettet to the correct count of menu items inside the upper menu. This causes a wrong count_menuItems when rendering a menu with submenus.

Okay, a bit difficult to explain. But I’ve taken a screenshot and this will hopefully explain what I mean.

There is a prefix in front of each menu point, set to the following values:
{register:count_menuItems}-{register:count_HMENU_MENUOBJ}-{register:count_MENUOBJ}

(issue imported from #M14143)

Reviews 0

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