[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:23:28 +0000 (23:23 +0200)
commit18adf63eaf6f005ae285d24fe0acbb1ffe346bd2
tree803183f4c46edc7433177eaab48ee2e9c55190bf
parent47670f70e8e7c30f1af007b59e4faab81c0e6426
[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: I0425d04602110a5f6707022cb88077cc75e81f02
Resolves: #25405
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/1471
Reviewed-by: Tolleiv Nietsch
Reviewed-by: Frederic Gaus
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/cms/tslib/class.tslib_menu.php