#22478count_menuItems not working correctly
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.