diff --git a/typo3/sysext/cms/tslib/class.tslib_menu.php b/typo3/sysext/cms/tslib/class.tslib_menu.php index 9faf854..061a93c 100644 --- a/typo3/sysext/cms/tslib/class.tslib_menu.php +++ b/typo3/sysext/cms/tslib/class.tslib_menu.php @@ -1476,7 +1476,7 @@ class tslib_menu { $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!) + if (!in_array($theRec['uid'], $this->getBannedUids()) && !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; } }