27099.diff
| b/typo3/sysext/cms/tslib/class.tslib_menu.php | ||
|---|---|---|
| 1476 | 1476 | |
| 1477 | 1477 |
$recs = $this->sys_page->getMenu($uid,'uid,pid,doktype,mount_pid,mount_pid_ol,nav_hide,shortcut,shortcut_mode'); |
| 1478 | 1478 |
foreach($recs as $theRec) {
|
| 1479 |
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!)
|
|
| 1479 |
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!)
|
|
| 1480 | 1480 |
return TRUE; |
| 1481 | 1481 |
} |
| 1482 | 1482 |
} |