[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:49:17 +0000 (21:49 +0100)
commitba8438166d884773aa2a3d586a794ee8f3946064
tree81f5f1d00a5ff7a0161e533534dfb47cb41bea59
parenteeddbce972e5cba1c27feb1eae5e72e5d624af02
[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: Icc335a838732612cba2abb04b9996628bc129b55
Resolves: #19925
Releases: 4.7, 4.6, 4.5, 4.4
Reviewed-on: http://review.typo3.org/8938
Reviewed-by: Stefan Galinski
Tested-by: Stefan Galinski
t3lib/class.t3lib_div.php
typo3/sysext/cms/tslib/class.tslib_menu.php