patch_class.tslib_menu.txt
1 |
Index: Z:/svnworkspace/TYPO3_4-1/typo3/sysext/cms/tslib/class.tslib_menu.php |
---|---|
2 |
=================================================================== |
3 |
--- Z:/svnworkspace/TYPO3_4-1/typo3/sysext/cms/tslib/class.tslib_menu.php (revision 2438) |
4 |
+++ Z:/svnworkspace/TYPO3_4-1/typo3/sysext/cms/tslib/class.tslib_menu.php (working copy) |
5 |
@@ -896,7 +896,7 @@ |
6 |
// Checking if a page should be shown in the menu depending on whether a translation exists: |
7 |
$tok = TRUE; |
8 |
if ($GLOBALS['TSFE']->sys_language_uid && t3lib_div::hideIfNotTranslated($data['l18n_cfg'])) { // There is an alternative language active AND the current page requires a translation: |
9 |
- if (!$data['_PAGES_OVERLAY']) { |
10 |
+ if (!$data['_PAGES_OVERLAY'] || ($data['_PAGES_OVERLAY'] && $data['_PAGES_OVERLAY_LUID'] != $GLOBALS['TSFE']->sys_language_uid)) { |
11 |
$tok = FALSE; |
12 |
} |
13 |
} |