Skip to content

Commit a311e3b

Browse files
committed
Show complete toc
1 parent 871f259 commit a311e3b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Classes/Controller/TableOfContentsController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ private function getMenuEntry(array $entry, bool $recursive = false): array
146146
// 1. Current menu node is in rootline
147147
// 2. Current menu node points to another file
148148
// 3. Current menu node has no corresponding images
149-
if (
150-
$entryArray['ITEM_STATE'] == 'CUR'
149+
if (true
150+
|| $entryArray['ITEM_STATE'] == 'CUR'
151151
|| (array_key_exists('points', $entry) && is_string($entry['points']))
152152
|| empty($this->document->getCurrentDocument()->smLinks['l2p'][$entry['id']])
153153
) {

0 commit comments

Comments
 (0)