Fix bug #3160: IFSUB is not true if the parent page is a shortcut page
authorWolfgang Klinger <wolfgang@stufenlos.net>
Fri, 4 Aug 2006 05:03:23 +0000 (05:03 +0000)
committerWolfgang Klinger <wolfgang@stufenlos.net>
Fri, 4 Aug 2006 05:03:23 +0000 (05:03 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1671 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_menu.php

index 7c494f9..8be57a5 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-04 Wolfgang Klinger <wk@plan2.net>
+
+       * Fix bug #3160: IFSUB is not true if the parent page is a shortcut page
+
 2006-07-31  Dmitry Dulepov  <typo3@accio.lv>
 
        * Fixed endless page retrieval if pageNotFound_handling is set to URL of a local non existing page
index 9f325cd..55e18f3 100755 (executable)
@@ -1340,7 +1340,7 @@ class tslib_menu {
                        $uid = $mount_info['mount_pid'];
                }
 
-               $recs = $this->sys_page->getMenu($uid,'uid,pid,doktype,mount_pid,mount_pid_ol,nav_hide');
+               $recs = $this->sys_page->getMenu($uid,'uid,pid,doktype,mount_pid,mount_pid_ol,nav_hide,shortcut,shortcut_mode');
                foreach($recs as $theRec)       {
                        if (!t3lib_div::inList($this->doktypeExcludeList,$theRec['doktype']) && (!$theRec['nav_hide'] || $this->conf['includeNotInMenu']))      {       // If a menu item seems to be another type than 'Not in menu', then return true (there were items!)
                                return TRUE;