[BUGFIX] *IFSUB ignores l18n_cfg field
authorStefan Galinski <stefan.galinski@gmail.com>
Fri, 23 Sep 2011 18:55:00 +0000 (20:55 +0200)
committerStefan Galinski <stefan.galinski@gmail.com>
Thu, 9 Feb 2012 20:32:20 +0000 (21:32 +0100)
commitc3292b7b47ba4789c8a91d48a8b1134de1bbb393
treec010a709e438528e024f9dcc8fddc8e1f282fdcc
parent110a28ee5e397c758fa48b34385d633a74616a5f
[BUGFIX] *IFSUB ignores l18n_cfg field

The l18n_cfg field is used to prevent the appearance of the default
language record or any alternative language records that haven't a translation
in the menu. At the first glance it seems to work like expected, because the
expected page records are not visible in a configured frontend menu. If we have a
closer look at this part, we will see that the flag is badly ignored for the
"*IFSUB" record states. This causes that a page record which has no visible
subpages is marked with the hasSubmenu flag.

Change-Id: Ia988dfeb272b6c64c86c45f9d80b8b9299a09bfc
Resolves: #19925
Releases: 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/5573
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Tolleiv Nietsch
Tested-by: Tolleiv Nietsch
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
t3lib/class.t3lib_div.php
typo3/sysext/cms/tslib/class.tslib_menu.php