[BUGFIX] register['count_menuItems'] wrong, if filtered by userfunc
authorBjoern Pedersen <bjoern.pedersen@frm2.tum.de>
Wed, 6 Apr 2011 07:47:40 +0000 (09:47 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 19 Apr 2011 21:26:29 +0000 (23:26 +0200)
commitbb174015e88d7a6d90eec6d7fb07ddb86a84099d
tree26947db6c9e9c05edb761f277fd720bfea48354f
parent497aa83624cb188aa07d27d2c71fd4e38b59303a
[BUGFIX] register['count_menuItems'] wrong, if filtered by userfunc

the register['count_menuItems'] is set, before a possible userfunc filters the menu items -> wrong register value.

Solution: change call sequence

Change-Id: I3b7b8747309d57fcece2db949974530c38ba5bb2
Resolves: #25405
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1473
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/tslib/class.tslib_menu.php