Skip to content

Commit cd79f15

Browse files
[BUGFIX] Fix condition for videoChapter (#1805)
Co-authored-by: Sebastian Meyer <[email protected]>
1 parent b5ceb3b commit cd79f15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Classes/Controller/TableOfContentsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private function getMenuEntry(array $entry, bool $recursive = false): array
126126
// Set "title", "volume", "type" and "pagination" from $entry array.
127127
$entryArray['title'] = $this->setTitle($entry);
128128
$entryArray['volume'] = $entry['volume'];
129-
if (isset($entry['videoChapter']) && $entry['videoChapter'] !== null) {
129+
if (isset($entry['videoChapter'])) {
130130
// Now consumers such as `slub_digitalcollections` may intercept clicks on these links
131131
// and use the timecode to directly jump to that video position
132132
// NOTE: Remember that the URL also contains parameters such as `tx_dlf[page]` and `cHash`

0 commit comments

Comments
 (0)