[BUGFIX] *IFSUB ignores l18n_cfg field
authorStefan Galinski <stefan.galinski@gmail.com>
Fri, 23 Sep 2011 18:55:00 +0000 (20:55 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Sun, 11 Mar 2012 19:13:39 +0000 (20:13 +0100)
commitc7bf718e6ec96211dc812f33dca72a5d2a5a1855
treeed68c53f6b21b7799e7373c295f9989e18249024
parenta3f69bd7636a17be70578594a1256540a5485b21
[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: I59cd0fda4e198ea326b7ad9b26add1cb244d2c82
Resolves: #19925
Releases: 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/8939
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Susanne Moog
Tested-by: Susanne Moog
t3lib/class.t3lib_div.php
typo3/sysext/cms/tslib/class.tslib_menu.php