Project

General

Profile

Bug #27099 ยป 27099.diff

Jeff Segars, 2011-05-27 21:29

View differences:

typo3/sysext/cms/tslib/class.tslib_menu.php
$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;
}
}
    (1-1/1)